File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ services:
2626 args :
2727 - INSTALL_MONGO=false
2828 - INSTALL_XDEBUG=false
29+ - INSTALL_ZIP_ARCHIVE=false
2930 dockerfile : Dockerfile-70
3031 volumes_from :
3132 - volumes_source
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
3535#
3636# - INSTALL_XDEBUG= false
3737# - INSTALL_MONGO= false
38+ # - INSTALL_ZIP_ARCHIVE= false
3839#
3940
4041#####################################
@@ -60,6 +61,18 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
6061 pecl install mongodb \
6162;fi
6263
64+ #####################################
65+ # ZipArchive:
66+ #####################################
67+
68+ ARG INSTALL_ZIP_ARCHIVE=true
69+ ENV INSTALL_ZIP_ARCHIVE ${INSTALL_ZIP_ARCHIVE}
70+ RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
71+ # Install the zip extention
72+ pecl install zip \
73+ ;fi
74+
75+
6376#
6477#--------------------------------------------------------------------------
6578# Final Touch
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
3535#
3636# - INSTALL_XDEBUG= false
3737# - INSTALL_MONGO= false
38+ # - INSTALL_ZIP_ARCHIVE= false
3839#
3940
4041#####################################
@@ -60,6 +61,18 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
6061 pecl install mongodb \
6162;fi
6263
64+ #####################################
65+ # ZipArchive:
66+ #####################################
67+
68+ ARG INSTALL_ZIP_ARCHIVE=true
69+ ENV INSTALL_ZIP_ARCHIVE ${INSTALL_ZIP_ARCHIVE}
70+ RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
71+ # Install the zip extention
72+ pecl install zip \
73+ ;fi
74+
75+
6376#
6477#--------------------------------------------------------------------------
6578# Final Touch
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ date.timezone=UTC
22display_errors =Off
33log_errors =On
44extension =mongodb.so
5+ extension =zip.so
56
67; Maximum amount of memory a script may consume (128MB)
78; http://php.net/memory-limit
You can’t perform that action at this time.
0 commit comments