Merge pull request #2935 from laradock/fix-php-fpm-gnupg
fix(gnupg extension): php-fpm
This commit is contained in:
commit
4d3da8ffbf
2
.github/workflows/main-ci.yml
vendored
2
.github/workflows/main-ci.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
PHP_VERSION: ${{ matrix.php_version }}
|
PHP_VERSION: ${{ matrix.php_version }}
|
||||||
run: |
|
run: |
|
||||||
cp env-example .env
|
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/GNUPG=false/GNUPG=true/g' .env
|
||||||
sed -i -- 's/CHANGE_SOURCE=true/CHANGE_SOURCE=false/g' .env
|
sed -i -- 's/CHANGE_SOURCE=true/CHANGE_SOURCE=false/g' .env
|
||||||
sed -i -- 's/PHPDBG=true/PHPDBG=false/g' .env
|
sed -i -- 's/PHPDBG=true/PHPDBG=false/g' .env
|
||||||
|
@ -111,7 +111,9 @@ RUN if [ ${INSTALL_GNUPG} = true ]; then \
|
|||||||
else \
|
else \
|
||||||
pecl install gnupg; \
|
pecl install gnupg; \
|
||||||
fi; \
|
fi; \
|
||||||
fi
|
fi; \
|
||||||
|
docker-php-ext-enable gnupg; \
|
||||||
|
php -m | grep -q 'gnupg'
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# SSH2:
|
# SSH2:
|
||||||
|
Loading…
Reference in New Issue
Block a user