From cd3783d2b9bab6451698afe73e077499c86461e7 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 17 Jul 2020 23:16:35 +0200 Subject: [PATCH] added pfl related stuff --- Dockerfile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index eb132b4..ed1e60d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,23 @@ FROM php:7-apache -# Apache Modules -RUN a2enmod rewrite dav dav_fs dav_lock - -# PHP Modules ENV DEBIAN_FRONTEND noninterative +# Tools +RUN apt-get update && apt-get install -y libxml2-utils + +# Apache Modules +RUN a2enmod rewrite dav dav_fs dav_lock headers + +# PHP Modules ## opcache RUN docker-php-ext-configure opcache && docker-php-ext-install -j$(nproc) opcache ## pgsql RUN apt-get update && apt-get install -y libpq-dev && docker-php-ext-configure pgsql && docker-php-ext-install pgsql +# cleanup +RUN rm -rf /var/lib/apt/lists/* + # PHP ini RUN cp "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" COPY ini/prod.ini /usr/local/etc/php/conf.d