disable unused php extensions
This commit is contained in:
parent
73a1381e77
commit
ea2e72b04c
1 changed files with 6 additions and 7 deletions
13
Dockerfile
13
Dockerfile
|
@ -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
|
|
Loading…
Reference in a new issue