This commit is contained in:
parent
211a10e8d4
commit
36e05252a0
@ -1,7 +1,7 @@
|
|||||||
FROM mcr.microsoft.com/powershell:ubuntu-bionic
|
FROM mcr.microsoft.com/powershell:ubuntu-bionic
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
ARG PHP_VERSION=7.3
|
ARG PHP_VERSION=7.4
|
||||||
|
|
||||||
COPY init/entrypoint.sh /usr/local/bin
|
COPY init/entrypoint.sh /usr/local/bin
|
||||||
|
|
||||||
@ -28,9 +28,8 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \
|
|||||||
# 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 && \
|
||||||
# Enable browscap
|
# Enable browscap
|
||||||
sed -i -e 's/;browscap /browscap /' /etc/php/$PHP_VERSION/cgi/php.ini && \
|
sed -i -e 's|;browscap.*|browscap = /usr/lib/php/browscap.ini|' /etc/php/$PHP_VERSION/cgi/php.ini && \
|
||||||
mkdir /etc/php/$PHP_VERSION/cgi/extra && \
|
curl -Ls https://browscap.org/stream?q=Lite_PHP_BrowsCapINI -o /usr/lib/php/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 \
|
||||||
libterm-readline-gnu-perl \
|
libterm-readline-gnu-perl \
|
||||||
|
Loading…
Reference in New Issue
Block a user