Update nginx image

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-02-09 18:53:31 -03:00
parent 5c4854b537
commit 7dc17a603d
3 changed files with 7 additions and 8 deletions

View file

@ -42,6 +42,9 @@ RUN bash -eu -c ' \
RUN setcap cap_net_bind_service=+ep /nginx-ingress-controller \
&& setcap -v cap_net_bind_service=+ep /nginx-ingress-controller
RUN setcap cap_net_bind_service=+ep /usr/sbin/nginx \
&& setcap -v cap_net_bind_service=+ep /usr/sbin/nginx
# Create symlinks to redirect nginx logs to stdout and stderr docker log collector
# This only works if nginx is started with CMD or ENTRYPOINT
RUN ln -sf /dev/stdout /var/log/nginx/access.log