Skip to content

Commit

Permalink
Merge pull request #19 from JoaoDanielRufino/fix/dockerfiles
Browse files Browse the repository at this point in the history
Added git to docker images
  • Loading branch information
JoaoDanielRufino authored May 31, 2022
2 parents 9446a74 + 71b7712 commit f140c65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ FROM alpine:3.15.0

WORKDIR /app

RUN apk add --no-cache git

COPY --from=build /app/bin/gcloc ./

ENTRYPOINT [ "/app/gcloc" ]
1 change: 1 addition & 0 deletions goreleaser.dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM alpine:3.15.0
COPY gcloc /usr/bin
RUN apk add --no-cache git
ENTRYPOINT ["/usr/bin/gcloc"]

0 comments on commit f140c65

Please sign in to comment.