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

This commit is contained in:
Danny Bessems 2019-11-26 15:48:08 +00:00
parent d633f698b1
commit d486c8ad21

View File

@ -26,7 +26,7 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \
apt-get autoremove -y && \ apt-get autoremove -y && \
# 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 && \
# Include vhost's # Include vhost's
sed -i -e '$a\' -e 'include_shell "cat /etc/lighttpd/vhosts.d/*.conf"' /etc/lighttpd/lighttpd.conf && \ sed -i -e '$a\' -e 'include_shell "cat /etc/lighttpd/vhosts.d/*.conf"' /etc/lighttpd/lighttpd.conf && \
mkdir -p /run/lighttpd/ && chown lighttpd /run/lighttpd/ mkdir -p /run/lighttpd/ && chown lighttpd /run/lighttpd/