add options INSTALL_ZIP_ARCHIVE to php-fpm
This commit is contained in:
parent
82cbad75d4
commit
1fdf800988
@ -26,6 +26,7 @@ services:
|
|||||||
args:
|
args:
|
||||||
- INSTALL_MONGO=false
|
- INSTALL_MONGO=false
|
||||||
- INSTALL_XDEBUG=false
|
- INSTALL_XDEBUG=false
|
||||||
|
- INSTALL_ZIP_ARCHIVE=false
|
||||||
dockerfile: Dockerfile-70
|
dockerfile: Dockerfile-70
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- volumes_source
|
- volumes_source
|
||||||
|
@ -35,6 +35,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
#
|
#
|
||||||
# - INSTALL_XDEBUG= false
|
# - INSTALL_XDEBUG= false
|
||||||
# - INSTALL_MONGO= false
|
# - INSTALL_MONGO= false
|
||||||
|
# - INSTALL_ZIP_ARCHIVE= false
|
||||||
#
|
#
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
@ -60,6 +61,18 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
|
|||||||
pecl install mongodb \
|
pecl install mongodb \
|
||||||
;fi
|
;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
|
# Final Touch
|
||||||
|
@ -35,6 +35,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
#
|
#
|
||||||
# - INSTALL_XDEBUG= false
|
# - INSTALL_XDEBUG= false
|
||||||
# - INSTALL_MONGO= false
|
# - INSTALL_MONGO= false
|
||||||
|
# - INSTALL_ZIP_ARCHIVE= false
|
||||||
#
|
#
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
@ -60,6 +61,18 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
|
|||||||
pecl install mongodb \
|
pecl install mongodb \
|
||||||
;fi
|
;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
|
# Final Touch
|
||||||
|
@ -2,6 +2,7 @@ date.timezone=UTC
|
|||||||
display_errors=Off
|
display_errors=Off
|
||||||
log_errors=On
|
log_errors=On
|
||||||
extension=mongodb.so
|
extension=mongodb.so
|
||||||
|
extension=zip.so
|
||||||
|
|
||||||
; Maximum amount of memory a script may consume (128MB)
|
; Maximum amount of memory a script may consume (128MB)
|
||||||
; http://php.net/memory-limit
|
; http://php.net/memory-limit
|
||||||
|
Loading…
Reference in New Issue
Block a user