fix: php-worker ldap 5.6 7.0 ssl
This commit is contained in:
parent
dd731bf73b
commit
5c9b8b708e
|
@ -32,8 +32,13 @@ RUN apk --update add wget \
|
|||
cyrus-sasl-dev \
|
||||
libgsasl-dev \
|
||||
oniguruma-dev \
|
||||
openssl-dev \
|
||||
supervisor
|
||||
supervisor; \
|
||||
if [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "50600" ] || \
|
||||
[ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70000" ]; then \
|
||||
apk --update add libressl libressl-dev; \
|
||||
else \
|
||||
apk --update add openssl-dev; \
|
||||
fi
|
||||
|
||||
|
||||
RUN pecl channel-update pecl.php.net; \
|
||||
|
|
Loading…
Reference in New Issue