Update 'Dockerfile'
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Danny Bessems 2019-11-26 15:14:51 +00:00
parent f1ed99992d
commit c581ee3ff1
1 changed files with 4 additions and 3 deletions

View File

@ -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 && \