From 059267dec2195b05e18a7ed2167b3a6eea0cfaed Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Fri, 15 Mar 2019 11:28:27 -0400 Subject: [PATCH] Newer version of NGINX, Grav; No need for Let's Encrypt --- Dockerfile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index da0525c..dc484de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM nginx:1.11.9 +FROM nginx:stable -# Desired version of grav -ARG GRAV_VERSION=1.1.16 +# Version of Grav to install +ARG GRAV_VERSION=1.5.8 # Install dependencies RUN apt-get update && \ @@ -24,12 +24,6 @@ RUN wget https://github.com/getgrav/grav/releases/download/$GRAV_VERSION/grav-ad # Return to root user USER root -# Install Acmetool Let's Encrypt client -RUN echo 'deb http://ppa.launchpad.net/hlandau/rhea/ubuntu xenial main' > /etc/apt/sources.list.d/rhea.list \ - && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9862409EF124EC763B84972FF5AC9651EDB58DFA \ - && apt-get update \ - && apt-get install acmetool - # Configure nginx with grav WORKDIR grav-admin RUN cd webserver-configs && \