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

This commit is contained in:
Danny Bessems 2019-11-27 09:37:48 +00:00
parent 66e252a8c1
commit 86f8f67852

View File

@ -1,14 +1,16 @@
FROM mcr.microsoft.com/powershell:ubuntu-bionic
ARG DEBIAN_FRONTEND=noninteractive
COPY init/entrypoint.sh /usr/local/bin
RUN chmod +x /usr/local/bin/entrypoint.sh && \
apt-get update && \
apt-get install -y \
apt-get install -y --no-install-recommends \
libterm-readline-gnu-perl \
software-properties-common && \
add-apt-repository ppa:ondrej/php && \
apt-get install -y \
apt-get install -y --no-install-recommends \
lighttpd \
php7.3-cgi \
php7.3-common \
@ -20,7 +22,6 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \
# php7.3-pdo_sqlite \
# php7.3-session \
php7.3-xmlrpc && \
rm -rf /var/lib/apt/lists/* && \
# Enable PHP
lighttpd-enable-mod fastcgi-php && \
# Include vhost's
@ -29,8 +30,8 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \
apt-get remove -y \
libterm-readline-gnu-perl \
software-properties-common && \
apt-get autoremove -y
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
VOLUME /etc/lighttpd/vhosts.d
VOLUME /var/www