Fix pecl/swoole requires PHP (version >= 7.0.0)

This commit is contained in:
Shao Yu Lung 2018-02-11 12:44:24 +08:00
parent 0077de28a1
commit dfff0b2fa0
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
ARG INSTALL_SWOOLE=false ARG INSTALL_SWOOLE=false
RUN if [ ${INSTALL_SWOOLE} = true ]; then \ RUN if [ ${INSTALL_SWOOLE} = true ]; then \
# Install Php Swoole Extension # Install Php Swoole Extension
pecl install swoole \ pecl install swoole-2.0.11 \
&& docker-php-ext-enable swoole \ && docker-php-ext-enable swoole \
;fi ;fi