Merge pull request #229 from Kauhat/patch-1

Remove hard-coded extensions from laravel.ini
This commit is contained in:
Mahmoud Zalt 2016-08-15 17:57:30 +03:00 committed by GitHub
commit 28b4077a49
3 changed files with 14 additions and 12 deletions

View File

@ -45,7 +45,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
ARG INSTALL_XDEBUG=true
ENV INSTALL_XDEBUG ${INSTALL_XDEBUG}
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
# Install the xdebug extention
# Install the xdebug extension
pecl install xdebug && \
docker-php-ext-enable xdebug \
;fi
@ -57,8 +57,9 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
ARG INSTALL_MONGO=true
ENV INSTALL_MONGO ${INSTALL_MONGO}
RUN if [ ${INSTALL_MONGO} = true ]; then \
# Install the mongodb extention
pecl install mongodb \
# Install the mongodb extension
pecl install mongodb && \
docker-php-ext-enable mongodb \
;fi
#####################################
@ -68,8 +69,9 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
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 \
# Install the zip extension
pecl install zip && \
docker-php-ext-enable zip \
;fi

View File

@ -45,7 +45,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
ARG INSTALL_XDEBUG=true
ENV INSTALL_XDEBUG ${INSTALL_XDEBUG}
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
# Install the xdebug extention
# Install the xdebug extension
pecl install xdebug && \
docker-php-ext-enable xdebug \
;fi
@ -57,8 +57,9 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
ARG INSTALL_MONGO=true
ENV INSTALL_MONGO ${INSTALL_MONGO}
RUN if [ ${INSTALL_MONGO} = true ]; then \
# Install the mongodb extention
pecl install mongodb \
# Install the mongodb extension
pecl install mongodb && \
docker-php-ext-enable mongodb \
;fi
#####################################
@ -68,8 +69,9 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
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 \
# Install the zip extension
pecl install zip && \
docker-php-ext-enable zip \
;fi

View File

@ -1,8 +1,6 @@
date.timezone=UTC
display_errors=Off
log_errors=On
extension=mongodb.so
extension=zip.so
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit