From 86f8f67852c9a3058cd5b41cf410e894076241e4 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Wed, 27 Nov 2019 09:37:48 +0000 Subject: [PATCH] Update 'Dockerfile' --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index d514d73..bf562f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,16 @@ FROM mcr.microsoft.com/powershell:ubuntu-bionic +ARG DEBIAN_FRONTEND=noninteractive + COPY init/entrypoint.sh /usr/local/bin RUN chmod +x /usr/local/bin/entrypoint.sh && \ apt-get update && \ - apt-get install -y \ + apt-get install -y --no-install-recommends \ libterm-readline-gnu-perl \ software-properties-common && \ add-apt-repository ppa:ondrej/php && \ - apt-get install -y \ + apt-get install -y --no-install-recommends \ lighttpd \ php7.3-cgi \ php7.3-common \ @@ -20,7 +22,6 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \ # php7.3-pdo_sqlite \ # php7.3-session \ php7.3-xmlrpc && \ - rm -rf /var/lib/apt/lists/* && \ # Enable PHP lighttpd-enable-mod fastcgi-php && \ # Include vhost's @@ -29,8 +30,8 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \ apt-get remove -y \ libterm-readline-gnu-perl \ software-properties-common && \ - apt-get autoremove -y - + apt-get autoremove -y && \ + rm -rf /var/lib/apt/lists/* VOLUME /etc/lighttpd/vhosts.d VOLUME /var/www