Merge pull request #2935 from laradock/fix-php-fpm-gnupg

fix(gnupg extension): php-fpm
This commit is contained in:
Shao Yu-Lung (Allen) 2021-04-05 22:20:45 +08:00 committed by GitHub
commit 4d3da8ffbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,7 @@ jobs:
PHP_VERSION: ${{ matrix.php_version }}
run: |
cp env-example .env
sed -i -- '99,274s/=false/=true/g' .env
sed -i -- '99,278s/=false/=true/g' .env
sed -i -- 's/GNUPG=false/GNUPG=true/g' .env
sed -i -- 's/CHANGE_SOURCE=true/CHANGE_SOURCE=false/g' .env
sed -i -- 's/PHPDBG=true/PHPDBG=false/g' .env

View File

@ -111,7 +111,9 @@ RUN if [ ${INSTALL_GNUPG} = true ]; then \
else \
pecl install gnupg; \
fi; \
fi
fi; \
docker-php-ext-enable gnupg; \
php -m | grep -q 'gnupg'
###########################################################################
# SSH2: