disable unused php extensions

This commit is contained in:
Jonas Leder 2020-12-28 22:41:58 +01:00
parent 73a1381e77
commit ea2e72b04c

View file

@ -18,16 +18,15 @@ USER docker
# |-------------------------------------------------------------------------- # |--------------------------------------------------------------------------
# | Default PHP extensions to be enabled (in addition to the one declared in Slim build) # | 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_MYSQLI=1 \
PHP_EXTENSION_PDO_MYSQL=1 \ PHP_EXTENSION_PDO_MYSQL=0 \
PHP_EXTENSION_IGBINARY=1 \ PHP_EXTENSION_IGBINARY=0 \
PHP_EXTENSION_REDIS=1 \ PHP_EXTENSION_REDIS=0 \
PHP_EXTENSION_SOAP=1 PHP_EXTENSION_SOAP=0
# |-------------------------------------------------------------------------- # |--------------------------------------------------------------------------
# | Add php files of website # | Add php files of website
# |-------------------------------------------------------------------------- # |--------------------------------------------------------------------------
COPY ./public /var/www/html COPY ./public /var/www/html
#RUN rm /var/www/html/internal/config.php