Update 'Dockerfile'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2019-11-26 15:17:54 +00:00
parent c581ee3ff1
commit 701b75e5a4

View File

@ -1,10 +1,10 @@
#FROM mcr.microsoft.com/powershell:alpine-3.8
FROM mcr.microsoft.com/powershell:ubuntu-bionic FROM mcr.microsoft.com/powershell:ubuntu-bionic
COPY init/entrypoint.sh /usr/local/bin COPY init/entrypoint.sh /usr/local/bin
RUN chmod +x /usr/local/bin/entrypoint.sh && \ RUN chmod +x /usr/local/bin/entrypoint.sh && \
apk install --update --no-cache \ apt update && \
apt install \
lighttpd \ lighttpd \
fcgi \ fcgi \
php7-cgi \ php7-cgi \
@ -28,7 +28,7 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \
# php7-soap \ # php7-soap \
# php7-xml \ # php7-xml \
php7-xmlrpc && \ php7-xmlrpc && \
# rm -rf /var/cache/apk/* && \ rm -rf /var/lib/apt/lists/* && \
# Enable PHP # Enable PHP
sed -i 's:# include "mod_fastcgi.conf": include "mod_fastcgi.conf":' /etc/lighttpd/lighttpd.conf && \ 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 && \ sed -i 's:/usr/bin/php-cgi:/usr/bin/php-cgi7:' /etc/lighttpd/mod_fastcgi.conf && \