File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
4545ARG INSTALL_XDEBUG=true
4646ENV INSTALL_XDEBUG ${INSTALL_XDEBUG}
4747RUN if [ ${INSTALL_XDEBUG} = true ]; then \
48- # Install the xdebug extention
48+ # Install the xdebug extension
4949 pecl install xdebug && \
5050 docker-php-ext-enable xdebug \
5151;fi
@@ -57,8 +57,9 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
5757ARG INSTALL_MONGO=true
5858ENV INSTALL_MONGO ${INSTALL_MONGO}
5959RUN if [ ${INSTALL_MONGO} = true ]; then \
60- # Install the mongodb extention
61- pecl install mongodb \
60+ # Install the mongodb extension
61+ pecl install mongodb && \
62+ docker-php-ext-enable mongodb \
6263;fi
6364
6465#####################################
@@ -68,8 +69,9 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
6869ARG INSTALL_ZIP_ARCHIVE=true
6970ENV INSTALL_ZIP_ARCHIVE ${INSTALL_ZIP_ARCHIVE}
7071RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
71- # Install the zip extention
72- pecl install zip \
72+ # Install the zip extension
73+ pecl install zip && \
74+ docker-php-ext-enable zip \
7375;fi
7476
7577
You can’t perform that action at this time.
0 commit comments