Skip to content

Commit

Permalink
Make docker image slimmer
Browse files Browse the repository at this point in the history
  • Loading branch information
choffmeister committed Nov 15, 2021
1 parent 3f491ec commit ed13164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /build
COPY ./ /build/
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o git-describe-semver ./cmd/git-describe-semver

FROM alpine
FROM scratch
COPY --from=builder /build/git-describe-semver /bin/git-describe-semver
WORKDIR /workdir
ENTRYPOINT ["/bin/git-describe-semver"]

0 comments on commit ed13164

Please sign in to comment.