Merge pull request #3297 from ljgade/master

fix php7 swoole build failed
This commit is contained in:
Shao Yu-Lung (Allen)
2022-12-11 01:25:47 +08:00
committed by GitHub
3 changed files with 6 additions and 0 deletions

View File

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