fix: laravel-horizon SSL

This commit is contained in:
Tom Robertshaw 2023-04-14 21:02:30 +01:00
parent d6a523e8bc
commit c776c33645
No known key found for this signature in database
GPG Key ID: 6C64CCA91F140D6B

View File

@ -31,10 +31,14 @@ RUN apk --update add wget \
cyrus-sasl-dev \
libgsasl-dev \
oniguruma-dev \
libressl \
libressl-dev \
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; \
docker-php-ext-install mysqli mbstring pdo pdo_mysql xml pcntl; \