Skip to content

Commit

Permalink
Merge pull request #76 from stakater/update-dockerfile
Browse files Browse the repository at this point in the history
Non-root user should be specified in numeric form in Dockerfile
  • Loading branch information
ahmedwaleedmalik authored May 6, 2021
2 parents ae0733c + e7d7dcf commit 86f48f0
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 @@ -23,6 +23,6 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -mod=mod -a -
FROM gcr.io/distroless/static:nonroot
WORKDIR /
COPY --from=builder /workspace/manager .
USER nonroot:nonroot
USER 65532:65532

ENTRYPOINT ["/manager"]

0 comments on commit 86f48f0

Please sign in to comment.