add options INSTALL_ZIP_ARCHIVE to php-fpm

This commit is contained in:
Lialosiu
2016-08-14 15:53:08 +08:00
parent 82cbad75d4
commit 1fdf800988
4 changed files with 28 additions and 0 deletions

View File

@ -35,6 +35,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
#
# - INSTALL_XDEBUG= false
# - INSTALL_MONGO= false
# - INSTALL_ZIP_ARCHIVE= false
#
#####################################
@ -60,6 +61,18 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
pecl install mongodb \
;fi
#####################################
# ZipArchive:
#####################################
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 \
;fi
#
#--------------------------------------------------------------------------
# Final Touch