Fix workspace, PHP56 build fail

pecl/swoole requires PHP (version >= 7.0.0)
This commit is contained in:
Shao Yu Lung 2018-02-11 13:04:20 +08:00
parent dfff0b2fa0
commit f53565f2a6
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
ARG INSTALL_SWOOLE=false
RUN if [ ${INSTALL_SWOOLE} = true ]; then \
# Install Php Swoole Extension
pecl -q install swoole && \
pecl -q install swoole-2.0.11 && \
echo "extension=swoole.so" >> /etc/php/5.6/mods-available/swoole.ini && \
ln -s /etc/php/5.6/mods-available/swoole.ini /etc/php/5.6/cli/conf.d/20-swoole.ini \
;fi