Fix PHP Zip library installation

This commit is contained in:
david-perez 2017-04-05 15:06:47 +02:00
parent 7230b11d3b
commit d321be888c
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
RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
# Install the zip extension
pecl install zip && \
docker-php-ext-enable zip \
docker-php-ext-install zip \
;fi
#####################################

View File

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

View File

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