fix: laravel-horizon SSL
This commit is contained in:
parent
d6a523e8bc
commit
c776c33645
@ -31,10 +31,14 @@ RUN apk --update add wget \
|
|||||||
cyrus-sasl-dev \
|
cyrus-sasl-dev \
|
||||||
libgsasl-dev \
|
libgsasl-dev \
|
||||||
oniguruma-dev \
|
oniguruma-dev \
|
||||||
libressl \
|
|
||||||
libressl-dev \
|
|
||||||
supervisor \
|
supervisor \
|
||||||
procps
|
procps; \
|
||||||
|
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; \
|
RUN pecl channel-update pecl.php.net; \
|
||||||
docker-php-ext-install mysqli mbstring pdo pdo_mysql xml pcntl; \
|
docker-php-ext-install mysqli mbstring pdo pdo_mysql xml pcntl; \
|
||||||
|
Loading…
Reference in New Issue
Block a user