Merge pull request #2884 from laradock/update-ssh2-ext

update php-fpm ssh2 ext version
This commit is contained in:
Shao Yu-Lung (Allen) 2021-03-16 18:02:35 +08:00 committed by GitHub
commit 2ac2058a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ RUN if [ ${INSTALL_SSH2} = true ]; then \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \ if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
pecl install -a ssh2-0.13; \ pecl install -a ssh2-0.13; \
else \ else \
pecl install -a ssh2-1.2; \ pecl install -a ssh2-1.3.1; \
fi && \ fi && \
docker-php-ext-enable ssh2 \ docker-php-ext-enable ssh2 \
;fi ;fi