Update Dockerfile

sepecified  pecl swoole version for php 7.1
This commit is contained in:
Shao Yu-Lung (Allen) 2021-03-20 17:49:21 +08:00 committed by GitHub
parent 6556a9125a
commit 27dfbbfab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -293,7 +293,7 @@ RUN set -eux; \
elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70000" ]; then \ elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70000" ]; then \
pecl install swoole-4.3.5; \ pecl install swoole-4.3.5; \
elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70100" ]; then \ elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70100" ]; then \
pecl install swoole-4.6.0; \ pecl install swoole-4.5.11; \
else \ else \
pecl install swoole; \ pecl install swoole; \
fi; \ fi; \