workspace redis extension use apt install. (#1990)
This commit is contained in:
parent
fc3355a9cc
commit
931f99ed0f
@ -374,10 +374,7 @@ RUN if [ ${INSTALL_AMQP} = true ]; then \
|
||||
ARG INSTALL_PHPREDIS=false
|
||||
|
||||
RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
|
||||
# Install Php Redis extension
|
||||
printf "\n" | pecl -q install -o -f redis && \
|
||||
echo "extension=redis.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/redis.ini && \
|
||||
phpenmod redis \
|
||||
apt-get install -yqq php-redis \
|
||||
;fi
|
||||
|
||||
###########################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user