Update 'Dockerfile'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2020-06-05 10:59:43 +00:00
parent bd4f7eedd1
commit 211a10e8d4

View File

@ -29,7 +29,7 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \
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 && \
# Enable browscap # Enable browscap
sed -i -e 's/;browscap /browscap /' /etc/php/$PHP_VERSION/cgi/php.ini && \ sed -i -e 's/;browscap /browscap /' /etc/php/$PHP_VERSION/cgi/php.ini && \
mkdir /etc/php/$PHP_VERSION/cgi/extra && mkdir /etc/php/$PHP_VERSION/cgi/extra && \
curl -Ls https://browscap.org/stream?q=Lite_PHP_BrowsCapINI -o /etc/php/$PHP_VERSION/cgi/extra/browscap.ini && \ curl -Ls https://browscap.org/stream?q=Lite_PHP_BrowsCapINI -o /etc/php/$PHP_VERSION/cgi/extra/browscap.ini && \
mkdir -p /run/lighttpd/ && chown www-data /run/lighttpd/ && \ mkdir -p /run/lighttpd/ && chown www-data /run/lighttpd/ && \
apt-get remove -y \ apt-get remove -y \