1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 00:22:40 +00:00

Add support for zstd

This commit is contained in:
Michele Locati 2021-01-23 16:39:58 +01:00
parent ecc7ca0f71
commit e6ec222430
No known key found for this signature in database
GPG key ID: 98B7CE2E7234E28B
2 changed files with 2 additions and 1 deletions

View file

@ -2164,7 +2164,7 @@ configureInstaller() {
if ! stringInList 'zip' "$PHP_PREINSTALLED_MODULES"; then
PHP_MODULES_TO_INSTALL="zip $(removeStringFromList 'zip' "$PHP_MODULES_TO_INSTALL")"
fi
if anyStringInList 'swoole xdebug xhprof pdo_sqlsrv sqlsrv igbinary seaslog' "$PHP_MODULES_TO_INSTALL"; then
if anyStringInList 'swoole xdebug xhprof pdo_sqlsrv sqlsrv igbinary seaslog zstd' "$PHP_MODULES_TO_INSTALL"; then
USE_PICKLE=2
else
curl -sSLf https://github.com/FriendsOfPHP/pickle/releases/latest/download/pickle.phar -o /tmp/pickle