From 8ef37a71fb1b7fff28bc2f40992a4cef325b5aca Mon Sep 17 00:00:00 2001 From: Jack Fletcher Date: Mon, 15 Aug 2016 14:57:51 +0100 Subject: [PATCH 1/3] Remove hard-coded extensions from laravel.ini --- php-fpm/laravel.ini | 2 -- 1 file changed, 2 deletions(-) diff --git a/php-fpm/laravel.ini b/php-fpm/laravel.ini index dea3703..486a2ca 100644 --- a/php-fpm/laravel.ini +++ b/php-fpm/laravel.ini @@ -1,8 +1,6 @@ date.timezone=UTC display_errors=Off log_errors=On -extension=mongodb.so -extension=zip.so ; Maximum amount of memory a script may consume (128MB) ; http://php.net/memory-limit From 3be9dee1c70c8eed07209891fdab27cde3af7dce Mon Sep 17 00:00:00 2001 From: Jack Fletcher Date: Mon, 15 Aug 2016 15:00:37 +0100 Subject: [PATCH 2/3] Update Dockerfile-70 --- php-fpm/Dockerfile-70 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/php-fpm/Dockerfile-70 b/php-fpm/Dockerfile-70 index ed28119..d99bf69 100644 --- a/php-fpm/Dockerfile-70 +++ b/php-fpm/Dockerfile-70 @@ -45,7 +45,7 @@ MAINTAINER Mahmoud Zalt ARG INSTALL_XDEBUG=true ENV INSTALL_XDEBUG ${INSTALL_XDEBUG} RUN if [ ${INSTALL_XDEBUG} = true ]; then \ - # Install the xdebug extention + # Install the xdebug extension pecl install xdebug && \ docker-php-ext-enable xdebug \ ;fi @@ -57,8 +57,9 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \ ARG INSTALL_MONGO=true ENV INSTALL_MONGO ${INSTALL_MONGO} RUN if [ ${INSTALL_MONGO} = true ]; then \ - # Install the mongodb extention - pecl install mongodb \ + # Install the mongodb extension + pecl install mongodb && \ + docker-php-ext-enable mongodb \ ;fi ##################################### @@ -68,8 +69,9 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \ ARG INSTALL_ZIP_ARCHIVE=true ENV INSTALL_ZIP_ARCHIVE ${INSTALL_ZIP_ARCHIVE} RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \ - # Install the zip extention - pecl install zip \ + # Install the zip extension + pecl install zip && \ + docker-php-ext-enable zip \ ;fi From 651430c7a9738c78d7ecc7bb6b039a6849acb6c8 Mon Sep 17 00:00:00 2001 From: Jack Fletcher Date: Mon, 15 Aug 2016 15:01:47 +0100 Subject: [PATCH 3/3] Update Dockerfile-56 --- php-fpm/Dockerfile-56 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/php-fpm/Dockerfile-56 b/php-fpm/Dockerfile-56 index fd88170..3ac78e6 100644 --- a/php-fpm/Dockerfile-56 +++ b/php-fpm/Dockerfile-56 @@ -45,7 +45,7 @@ MAINTAINER Mahmoud Zalt ARG INSTALL_XDEBUG=true ENV INSTALL_XDEBUG ${INSTALL_XDEBUG} RUN if [ ${INSTALL_XDEBUG} = true ]; then \ - # Install the xdebug extention + # Install the xdebug extension pecl install xdebug && \ docker-php-ext-enable xdebug \ ;fi @@ -57,8 +57,9 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \ ARG INSTALL_MONGO=true ENV INSTALL_MONGO ${INSTALL_MONGO} RUN if [ ${INSTALL_MONGO} = true ]; then \ - # Install the mongodb extention - pecl install mongodb \ + # Install the mongodb extension + pecl install mongodb && \ + docker-php-ext-enable mongodb \ ;fi ##################################### @@ -68,8 +69,9 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \ ARG INSTALL_ZIP_ARCHIVE=true ENV INSTALL_ZIP_ARCHIVE ${INSTALL_ZIP_ARCHIVE} RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \ - # Install the zip extention - pecl install zip \ + # Install the zip extension + pecl install zip && \ + docker-php-ext-enable zip \ ;fi