Skip to content

Commit

Permalink
make image be rootless
Browse files Browse the repository at this point in the history
  • Loading branch information
Camila Macedo committed Aug 19, 2020
1 parent d547977 commit feca0a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM gcr.io/distroless/static
FROM gcr.io/distroless/static:nonroot

ARG BINARY=kube-rbac-proxy-linux-amd64
COPY _output/$BINARY /usr/local/bin/kube-rbac-proxy

EXPOSE 8080
USER 1001:1001

ENTRYPOINT ["/usr/local/bin/kube-rbac-proxy"]

0 comments on commit feca0a7

Please sign in to comment.