fix php7.4 ssh2 extension.
This commit is contained in:
parent
833a91d8f8
commit
884e481c0c
@ -107,7 +107,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.1.2; \
|
pecl install -a ssh2-1.2; \
|
||||||
fi && \
|
fi && \
|
||||||
docker-php-ext-enable ssh2 \
|
docker-php-ext-enable ssh2 \
|
||||||
;fi
|
;fi
|
||||||
|
Loading…
Reference in New Issue
Block a user