mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-12-02 09:27:58 +01:00
Add support for openswoole (#461)
This commit is contained in:
parent
4613aa66aa
commit
daa351d9fc
@ -55,6 +55,7 @@ oci8 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
|
||||
odbc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
|
||||
opcache 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
|
||||
opencensus 7.0 7.1 7.2 7.3 7.4 8.0 8.1
|
||||
openswoole 7.2 7.3 7.4 8.0 8.1
|
||||
parallel 7.1 7.2 7.3 7.4
|
||||
pcntl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
|
||||
pcov 7.0 7.1 7.2 7.3 7.4 8.0 8.1
|
||||
|
@ -802,6 +802,14 @@ buildRequiredPackageLists() {
|
||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libodbc1"
|
||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile unixodbc-dev"
|
||||
;;
|
||||
openswoole@alpine)
|
||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent postgresql-libs libstdc++ $buildRequiredPackageLists_libssl"
|
||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile curl-dev postgresql-dev linux-headers $buildRequiredPackageLists_libssldev"
|
||||
;;
|
||||
openswoole@debian)
|
||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libcurl3-gnutls libpq5"
|
||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $buildRequiredPackageLists_libssldev libcurl4-gnutls-dev libpq-dev"
|
||||
;;
|
||||
pdo_dblib@alpine)
|
||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent freetds"
|
||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile freetds-dev"
|
||||
@ -2329,6 +2337,26 @@ installRemoteModule() {
|
||||
installRemoteModule_version=alpha
|
||||
fi
|
||||
;;
|
||||
openswoole)
|
||||
if php --ri sockets >/dev/null 2>/dev/null; then
|
||||
installRemoteModule_sockets=yes
|
||||
else
|
||||
installRemoteModule_sockets=no
|
||||
fi
|
||||
installRemoteModule_openssl=yes
|
||||
# enable sockets supports?
|
||||
addConfigureOption enable-sockets $installRemoteModule_sockets
|
||||
# enable openssl support?
|
||||
addConfigureOption enable-openssl $installRemoteModule_openssl
|
||||
# enable http2 support?
|
||||
addConfigureOption enable-http2 yes
|
||||
# enable mysqlnd support?
|
||||
addConfigureOption enable-mysqlnd yes
|
||||
# enable json support?
|
||||
addConfigureOption enable-swoole-json yes
|
||||
# enable curl support?
|
||||
addConfigureOption enable-swoole-curl yes
|
||||
;;
|
||||
parallel)
|
||||
if test -z "$installRemoteModule_version"; then
|
||||
if test $PHP_MAJMIN_VERSION -le 701; then
|
||||
|
Loading…
Reference in New Issue
Block a user