From ea2e72b04c2d87d43865b9589871c7341d6a6872 Mon Sep 17 00:00:00 2001 From: Jonas Leder Date: Mon, 28 Dec 2020 22:41:58 +0100 Subject: [PATCH] disable unused php extensions --- Dockerfile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1fe90ea..865bf16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,16 +18,15 @@ USER docker # |-------------------------------------------------------------------------- # | Default PHP extensions to be enabled (in addition to the one declared in Slim build) # |-------------------------------------------------------------------------- -ENV PHP_EXTENSION_APCU=1 \ +ENV PHP_EXTENSION_APCU=0 \ PHP_EXTENSION_MYSQLI=1 \ - PHP_EXTENSION_PDO_MYSQL=1 \ - PHP_EXTENSION_IGBINARY=1 \ - PHP_EXTENSION_REDIS=1 \ - PHP_EXTENSION_SOAP=1 + PHP_EXTENSION_PDO_MYSQL=0 \ + PHP_EXTENSION_IGBINARY=0 \ + PHP_EXTENSION_REDIS=0 \ + PHP_EXTENSION_SOAP=0 # |-------------------------------------------------------------------------- # | Add php files of website # |-------------------------------------------------------------------------- -COPY ./public /var/www/html -#RUN rm /var/www/html/internal/config.php \ No newline at end of file +COPY ./public /var/www/html \ No newline at end of file