From b1f1bd2368241e43ec6a3f80e09077fb8ad1b666 Mon Sep 17 00:00:00 2001 From: Ezwen Date: Sun, 26 Apr 2020 09:32:34 +0000 Subject: [PATCH] Add and enable php7-openssl in the 'app' image --- src/app/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/Dockerfile b/src/app/Dockerfile index e613e43..ee7f711 100644 --- a/src/app/Dockerfile +++ b/src/app/Dockerfile @@ -5,7 +5,7 @@ RUN apk add --no-cache php7 php7-fpm \ php7-pdo php7-gd php7-pgsql php7-pdo_pgsql php7-mbstring \ php7-intl php7-xml php7-curl php7-session \ php7-dom php7-fileinfo php7-json \ - php7-pcntl php7-posix php7-zip \ + php7-pcntl php7-posix php7-zip php7-openssl \ git postgresql-client sudo rsync ADD startup.sh / @@ -14,6 +14,7 @@ ADD index.php / ADD build-prepare.sh / RUN sed -i.bak 's/^listen = 127.0.0.1:9000/listen = 9000/' /etc/php7/php-fpm.d/www.conf +RUN sed -i.bak 's/^;\(extension=openssl\)/\1/' /etc/php7/php.ini RUN sh -c /build-prepare.sh