Skip to content

Commit

Permalink
Merge pull request #91 from galal-hussein/add_chroot_support
Browse files Browse the repository at this point in the history
Fixing nginx image symlinks
  • Loading branch information
galal-hussein authored Apr 23, 2022
2 parents ed481d5 + eccc863 commit af4e4ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ RUN setcap cap_net_bind_service=+ep /nginx-ingress-controller \
&& setcap cap_net_bind_service=+ep /usr/local/nginx/sbin/nginx \
&& setcap -v cap_net_bind_service=+ep /usr/local/nginx/sbin/nginx \
&& setcap cap_net_bind_service=+ep /usr/bin/dumb-init \
&& setcap -v cap_net_bind_service=+ep /usr/bin/dumb-init
&& setcap -v cap_net_bind_service=+ep /usr/bin/dumb-init \
&& ln -sf /usr/local/nginx/sbin/nginx /usr/bin/nginx

USER www-data

Expand Down

0 comments on commit af4e4ac

Please sign in to comment.