From 32b8ac65a747df669ba48e45177bfcaf62cbcaf7 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 17 Oct 2019 00:13:42 -0600 Subject: [PATCH] clone fun errorpages --- build/Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build/Dockerfile b/build/Dockerfile index 7262d48..f6fb908 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -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 " LABEL org.label-schema.cmd=""