nginx-extras

Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle 2017-03-04 14:32:10 -08:00
parent 1c97fa61de
commit 7585d176e9
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

18
nginx-extras/Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM debian:stretch
MAINTAINER Jessie Frazelle <jess@linux.com>
RUN apt-get update && apt-get install -y \
ca-certificates \
lua-cjson \
lua-iconv \
nginx-extras \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
# forward request and error logs to docker log collector
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
&& ln -sf /dev/stderr /var/log/nginx/error.log
EXPOSE 80 443
CMD ["nginx", "-g", "daemon off;"]