diff --git a/rootfs/Dockerfile b/rootfs/Dockerfile index a4dedb5288..d4a27de038 100644 --- a/rootfs/Dockerfile +++ b/rootfs/Dockerfile @@ -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