Merge pull request #751 from david-perez/master

Fix PHP Zip library installation
This commit is contained in:
Mahmoud Zalt 2017-04-05 20:54:17 -04:00 committed by GitHub
commit 5cd6ea41f9
3 changed files with 3 additions and 6 deletions

View File

@ -83,8 +83,7 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
ARG INSTALL_ZIP_ARCHIVE=false ARG INSTALL_ZIP_ARCHIVE=false
RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \ RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
# Install the zip extension # Install the zip extension
pecl install zip && \ docker-php-ext-install zip \
docker-php-ext-enable zip \
;fi ;fi
##################################### #####################################

View File

@ -92,8 +92,7 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
ARG INSTALL_ZIP_ARCHIVE=false ARG INSTALL_ZIP_ARCHIVE=false
RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \ RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
# Install the zip extension # Install the zip extension
pecl install zip && \ docker-php-ext-install zip \
docker-php-ext-enable zip \
;fi ;fi
##################################### #####################################

View File

@ -69,8 +69,7 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
ARG INSTALL_ZIP_ARCHIVE=false ARG INSTALL_ZIP_ARCHIVE=false
RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \ RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
# Install the zip extension # Install the zip extension
pecl install zip && \ docker-php-ext-install zip \
docker-php-ext-enable zip \
;fi ;fi
##################################### #####################################