diff --git a/autoscaling-demo/nginx_base/Dockerfile b/autoscaling-demo/nginx_base/Dockerfile index b25f3d3a..cc0569bd 100644 --- a/autoscaling-demo/nginx_base/Dockerfile +++ b/autoscaling-demo/nginx_base/Dockerfile @@ -20,7 +20,7 @@ RUN printf "deb https://plus-pkgs.nginx.com/ubuntu `lsb_release -cs` nginx-plus\ # RUN ln -s -f /bin/true /usr/bin/chfn # Install NGINX Plus -RUN apt-get update && apt-get install -y nginx-plus +RUN apt-get update && apt-get install -y nginx-plus && rm -fr /etc/ssl/nginx # forward request logs to docker log collector RUN ln -sf /dev/stdout /var/log/nginx/access.log diff --git a/nginx-swarm-demo/nginxplus/Dockerfile b/nginx-swarm-demo/nginxplus/Dockerfile index e6334f05..d63de33d 100644 --- a/nginx-swarm-demo/nginxplus/Dockerfile +++ b/nginx-swarm-demo/nginxplus/Dockerfile @@ -20,7 +20,7 @@ RUN wget -q -O /etc/apt/apt.conf.d/90nginx https://cs.nginx.com/static/files/90n RUN printf "deb https://plus-pkgs.nginx.com/ubuntu `lsb_release -cs` nginx-plus\n" >/etc/apt/sources.list.d/nginx-plus.list # Install NGINX Plus -RUN apt-get update && apt-get install -y nginx-plus +RUN apt-get update && apt-get install -y nginx-plus && rm -fr /etc/ssl/nginx # forward request logs to Docker log collector RUN ln -sf /dev/stdout /var/log/nginx/access.log