Install workspace redis with pecl

This commit is contained in:
Patrick Kivits 2021-03-02 10:20:06 +01:00
parent a3ec29ba11
commit f35d5a7f10

View File

@ -559,8 +559,9 @@ RUN if [ ${INSTALL_GEARMAN} = true ]; then \
ARG INSTALL_PHPREDIS=false
RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
apt-get update -yqq && \
apt-get install -yqq php-redis \
pecl -q install -o -f redis && \
echo "extension=redis.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/redis.ini && \
phpenmod redis \
;fi
###########################################################################