Newer version of NGINX, Grav; No need for Let's Encrypt
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -1,7 +1,7 @@
|
|||||||
FROM nginx:1.11.9
|
FROM nginx:stable
|
||||||
|
|
||||||
# Desired version of grav
|
# Version of Grav to install
|
||||||
ARG GRAV_VERSION=1.1.16
|
ARG GRAV_VERSION=1.5.8
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apt-get update && \
|
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
|
# Return to root user
|
||||||
USER root
|
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
|
# Configure nginx with grav
|
||||||
WORKDIR grav-admin
|
WORKDIR grav-admin
|
||||||
RUN cd webserver-configs && \
|
RUN cd webserver-configs && \
|
||||||
|
|||||||
Reference in New Issue
Block a user