Update to GH Pages 137; alpine-based

This commit is contained in:
John Mulhausen 2017-05-25 14:34:45 -07:00
parent 82eee87efb
commit 93f688f8df
No known key found for this signature in database
GPG Key ID: 0FC599ECCDBFDE02
2 changed files with 12 additions and 11 deletions

9
.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
**/.DS_Store
**/desktop.ini
.bundle/**
.jekyll-metadata
_site/**
.sass-cache/**
CNAME
Gemfile.lock
tests/**

View File

@ -1,19 +1,11 @@
FROM starefossen/github-pages:112
FROM starefossen/github-pages:137
# This is the source for docs/docs-base. Push to that location to ensure that
# the production image gets your update :)
# Install nginx
ENV NGINX_VERSION 1.11.9-1~jessie
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 \
&& echo "deb http://nginx.org/packages/mainline/debian/ jessie nginx" >> /etc/apt/sources.list \
&& apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y \
ca-certificates \
nginx=${NGINX_VERSION} \
&& rm -rf /var/lib/apt/lists/*
RUN apk add nginx && apk add git
# Forward nginx request and error logs to docker log collector
@ -80,4 +72,4 @@ COPY index.html target
# Serve the site (target), which is now all static HTML
CMD echo "Docker docs are viewable at:" && echo "http://0.0.0.0:4000" && exec nginx
CMD echo "Docker docs are viewable at:" && echo "http://0.0.0.0:4000" && nginx -g 'pid /tmp/nginx.pid;'