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
|
ARG INSTALL_PHPREDIS=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
|
RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
|
||||||
# Install Php Redis extension
|
apt-get install -yqq php-redis \
|
||||||
printf "\n" | pecl -q install -o -f 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