From 53ea4c9dc1f18d77c63e9717cac0d38c3964f31e Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 7 Jan 2021 08:58:08 -0700 Subject: [PATCH] revert(DOCKERFILE): remove nano, update internal version --- build/Dockerfile | 6 +- build/nanorc | 273 ----------------------------------------------- 2 files changed, 2 insertions(+), 277 deletions(-) delete mode 100644 build/nanorc diff --git a/build/Dockerfile b/build/Dockerfile index f1ee765..014d857 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -15,8 +15,7 @@ RUN addgroup --gid ${UID} www-docker \ www-docker # add nano, fun error pages & LetsEncrypt challenge directory outside webroot -RUN apk --no-cache add nano \ - && cd /usr/share/nginx \ +RUN cd /usr/share/nginx \ && rm -rf html/* \ && wget -O /tmp/errorpages.tar.gz https://git.asifbacchus.app/asif/fun-errorpages/archive/v1.0.tar.gz \ && tar -xzf /tmp/errorpages.tar.gz -C /tmp \ @@ -39,7 +38,6 @@ LABEL org.opencontainers.image.title="ab-nginx" LABEL org.opencontainers.image.description="NGINX-mainline-alpine with more logical file location layout and automatic SSL set up if certificates are provided." # copy configuration files -COPY nanorc /etc/nanorc COPY entrypoint.sh /entrypoint.sh COPY config /etc/nginx/ COPY sites /etc/nginx/sites/ @@ -75,7 +73,7 @@ CMD [ "nginx", "-g", "daemon off;" ] # add build date and version labels ARG BUILD_DATE LABEL org.opencontainers.image.version="1.19.6" -LABEL app.asifbacchus.docker.internalVersion="3.1" +LABEL app.asifbacchus.docker.internalVersion="3.2" LABEL org.opencontainers.image.created=${BUILD_DATE} #EOF \ No newline at end of file diff --git a/build/nanorc b/build/nanorc deleted file mode 100644 index bf1a7c9..0000000 --- a/build/nanorc +++ /dev/null @@ -1,273 +0,0 @@ -## Sample initialization file for GNU nano. -## -## Please note that you must have configured nano with --enable-nanorc -## for this file to be read! Also note that this file should not be in -## DOS or Mac format, and that characters specially interpreted by the -## shell should not be escaped here. -## -## To make sure an option is disabled, use "unset