clone fun errorpages

This commit is contained in:
Asif Bacchus 2019-10-17 00:13:42 -06:00
parent dc672819ff
commit 32b8ac65a7

View File

@ -1,5 +1,15 @@
FROM nginx:mainline-alpine 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 # standardized labels
LABEL maintainer="Asif Bacchus <asif@bacchus.cloud>" LABEL maintainer="Asif Bacchus <asif@bacchus.cloud>"
LABEL org.label-schema.cmd="" LABEL org.label-schema.cmd=""