Skip to content

Commit

Permalink
Merge pull request #81 from dionomusuko/deps-use-distroless/static
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored Dec 6, 2022
2 parents a6092a9 + 4651d5e commit 4dbd2b0
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 @@ -5,6 +5,6 @@ COPY *.go ./
RUN go mod download
RUN CGO_ENABLED=0 GOOS="linux" GOARCH="amd64" go build -a -o /bin/app

FROM gcr.io/distroless/base
FROM gcr.io/distroless/static
COPY --from=builder /bin/app /bin/app
ENTRYPOINT ["/bin/app"]

0 comments on commit 4dbd2b0

Please sign in to comment.