From c581ee3ff136e06f0da9801fc47c4c095d257d7c Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Tue, 26 Nov 2019 15:14:51 +0000 Subject: [PATCH] Update 'Dockerfile' --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ddc8bcc..40f079e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,10 @@ -FROM mcr.microsoft.com/powershell:alpine-3.8 +#FROM mcr.microsoft.com/powershell:alpine-3.8 +FROM mcr.microsoft.com/powershell:ubuntu-bionic COPY init/entrypoint.sh /usr/local/bin RUN chmod +x /usr/local/bin/entrypoint.sh && \ - apk add --update --no-cache \ + apk install --update --no-cache \ lighttpd \ fcgi \ php7-cgi \ @@ -27,7 +28,7 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \ # php7-soap \ # php7-xml \ php7-xmlrpc && \ - rm -rf /var/cache/apk/* && \ +# rm -rf /var/cache/apk/* && \ # Enable PHP sed -i 's:# include "mod_fastcgi.conf": include "mod_fastcgi.conf":' /etc/lighttpd/lighttpd.conf && \ sed -i 's:/usr/bin/php-cgi:/usr/bin/php-cgi7:' /etc/lighttpd/mod_fastcgi.conf && \