Skip to content
This repository has been archived by the owner on Aug 29, 2022. It is now read-only.

Commit

Permalink
Use the nonroot base image
Browse files Browse the repository at this point in the history
  • Loading branch information
johngmyers committed Apr 8, 2021
1 parent 0a91509 commit 997c0ca
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 @@ ADD . .
RUN go install -mod vendor -a && \
go test -mod vendor ./...

FROM gcr.io/distroless/base-debian10
FROM gcr.io/distroless/base-debian10:nonroot

COPY --from=0 /go/bin/certificate-init-container /
ENTRYPOINT ["/certificate-init-container"]

0 comments on commit 997c0ca

Please sign in to comment.