clone fun errorpages

This commit is contained in:
Asif Bacchus 2019-10-17 00:13:42 -06:00
parent dc672819ff
commit 32b8ac65a7
1 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,15 @@
FROM nginx:mainline-alpine
# add fun error pages
RUN apk --no-cache add git \
&& cd /usr/share/nginx/html \
&& rm -rf * \
&& git clone https://git.asifbacchus.app/asif/fun-errorpages.git /tmp \
&& apk del git \
&& mv /tmp/errorpages/ ./ \
&& rm -rf /tmp/* \
&& rm -rf /tmp/.git*
# standardized labels
LABEL maintainer="Asif Bacchus <asif@bacchus.cloud>"
LABEL org.label-schema.cmd=""