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 d59fd41 commit d3b03b6
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 ./cmd/kapprover && \
go test -mod vendor ./...

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

COPY --from=0 /go/bin/kapprover .
ENTRYPOINT ["/kapprover"]

0 comments on commit d3b03b6

Please sign in to comment.