Skip to content

Commit

Permalink
Merge pull request #3137 from aledbf/docker-user
Browse files Browse the repository at this point in the history
Docker run as user
  • Loading branch information
k8s-ci-robot authored Sep 26, 2018
2 parents c677002 + 1e72774 commit 5ce3809
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ RUN setcap cap_net_bind_service=+ep /nginx-ingress-controller \
RUN ln -sf /dev/stdout /var/log/nginx/access.log
RUN ln -sf /dev/stderr /var/log/nginx/error.log

USER www-data

CMD ["/nginx-ingress-controller"]

0 comments on commit 5ce3809

Please sign in to comment.