Install workspace redis with pecl
This commit is contained in:
parent
a3ec29ba11
commit
f35d5a7f10
@ -559,8 +559,9 @@ RUN if [ ${INSTALL_GEARMAN} = true ]; then \
|
|||||||
ARG INSTALL_PHPREDIS=false
|
ARG INSTALL_PHPREDIS=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
|
RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
|
||||||
apt-get update -yqq && \
|
pecl -q install -o -f redis && \
|
||||||
apt-get install -yqq php-redis \
|
echo "extension=redis.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/redis.ini && \
|
||||||
|
phpenmod redis \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user