File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -2,18 +2,17 @@ FROM debian:jessie
22
33MAINTAINER NGINX Docker Maintainers
"[email protected] " 44
5- RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62
6- RUN echo "deb http://nginx.org/packages/mainline/debian/ jessie nginx" >> /etc/apt/sources.list
7-
85ENV NGINX_VERSION 1.9.9-1~jessie
96
10- RUN apt-get update && \
11- apt-get install -y ca-certificates nginx=${NGINX_VERSION} gettext-base && \
12- rm -rf /var/lib/apt/lists/*
7+ RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 \
8+ && echo "deb http://nginx.org/packages/mainline/debian/ jessie nginx" >> /etc/apt/sources.list \
9+ && apt-get update \
10+ && apt-get install -y ca-certificates nginx=${NGINX_VERSION} gettext-base \
11+ && rm -rf /var/lib/apt/lists/*
1312
1413# forward request and error logs to docker log collector
15- RUN ln -sf /dev/stdout /var/log/nginx/access.log
16- RUN ln -sf /dev/stderr /var/log/nginx/error.log
14+ RUN ln -sf /dev/stdout /var/log/nginx/access.log \
15+ && ln -sf /dev/stderr /var/log/nginx/error.log
1716
1817VOLUME ["/var/cache/nginx" ]
1918
You can’t perform that action at this time.
0 commit comments