using nginx from edge repo now

This commit is contained in:
Andy 2016-05-03 09:21:45 +02:00
parent 4efab2b046
commit 9ca37fe239
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

View File

@ -1,10 +1,11 @@
FROM alpine:3.3 FROM alpine:3.3
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com> MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
RUN echo '@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories && \ RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories && \
apk update && \ apk update && \
apk add nginx-naxsi@testing inotify-tools && \ apk add nginx@edge inotify-tools ca-certificates && \
mkdir /tmp/nginx mkdir /tmp/nginx && \
chown nginx /var/lib/nginx /var/lib/nginx/tmp
COPY nginx.conf /etc/nginx/nginx.conf COPY nginx.conf /etc/nginx/nginx.conf
COPY launch /launch COPY launch /launch