fix php7.4 ssh2 extension.

This commit is contained in:
Shao Yu Lung 2020-02-18 13:45:23 +08:00
parent 833a91d8f8
commit 884e481c0c

View File

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