Update Dockerfile

This commit is contained in:
Stefomat 2018-10-06 20:51:38 +02:00 committed by GitHub
parent 07744e03df
commit 3e33286db4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
FROM nginx:1.14
FROM nginx:1.13
LABEL maintainer="Jason Wilder mail@jasonwilder.com"
# Install wget and install/updates certificates
@ -14,15 +14,17 @@ RUN apt-get update \
RUN echo "daemon off;" >> /etc/nginx/nginx.conf \
&& sed -i 's/worker_processes 1/worker_processes auto/' /etc/nginx/nginx.conf
ENV DOCKER_PLATFORM amd64
# Install Forego
ADD https://github.com/jwilder/forego/releases/download/v0.16.1/forego /usr/local/bin/forego
RUN chmod u+x /usr/local/bin/forego
RUN wget -q -O - https://bin.equinox.io/c/ekMN3bCZFUn/forego-stable-linux-$DOCKER_PLATFORM.tgz \
| tar -C /usr/local/bin -xvz \
&& chmod u+x /usr/local/bin/forego
ENV DOCKER_GEN_VERSION 0.7.4
ENV DOCKER_GEN_VERSION 0.7.3
RUN wget https://github.com/jwilder/docker-gen/releases/download/$DOCKER_GEN_VERSION/docker-gen-linux-amd64-$DOCKER_GEN_VERSION.tar.gz \
&& tar -C /usr/local/bin -xvzf docker-gen-linux-amd64-$DOCKER_GEN_VERSION.tar.gz \
&& rm /docker-gen-linux-amd64-$DOCKER_GEN_VERSION.tar.gz
RUN wget -q -O - https://github.com/jwilder/docker-gen/releases/download/$DOCKER_GEN_VERSION/docker-gen-linux-$DOCKER_PLATFORM-$DOCKER_GEN_VERSION.tar.gz \
| tar -C /usr/local/bin -xvz
COPY network_internal.conf /etc/nginx/