Merge pull request #552 from FalAngelSt/patch-1

fixed redis php extension instalation bug
This commit is contained in:
Bo-Yi Wu 2017-01-13 21:58:55 +08:00 committed by GitHub
commit fbc71b5a22

View File

@ -66,7 +66,7 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
ARG INSTALL_PHPREDIS=false ARG INSTALL_PHPREDIS=false
RUN if [ ${INSTALL_PHPREDIS} = true ]; then \ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
# Install Php Redis Extension # Install Php Redis Extension
RUN pecl install -o -f redis \ pecl install -o -f redis \
&& rm -rf /tmp/pear \ && rm -rf /tmp/pear \
&& docker-php-ext-enable redis \ && docker-php-ext-enable redis \
;fi ;fi