Fix Php Redis extension installation

This commit is contained in:
Eugene Kirdzei
2017-08-31 16:41:01 +03:00
parent fdcf9117ac
commit 53b3ad0f7e
4 changed files with 17 additions and 2 deletions

View File

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