From 2bcd760a57f5a6500371f2d5a564b6fd3502e4b1 Mon Sep 17 00:00:00 2001 From: Alexandre Quercia Date: Sat, 18 Nov 2023 18:50:38 +0100 Subject: [PATCH] Add openssl to PHP53 --- .docker/php53/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.docker/php53/Dockerfile b/.docker/php53/Dockerfile index c6b401bef..004f740e0 100644 --- a/.docker/php53/Dockerfile +++ b/.docker/php53/Dockerfile @@ -6,6 +6,7 @@ RUN set -eux; \ codename='jessie'; \ { \ echo "deb http://archive.debian.org/debian ${codename} main"; \ + echo "deb http://archive.debian.org/debian ${codename}-backports main"; \ echo "deb http://archive.debian.org/debian-security ${codename}/updates main"; \ } > /etc/apt/sources.list; @@ -25,7 +26,7 @@ RUN set -eux; \ dpkg -i bison_2.7.1.dfsg-1_amd64.deb; \ rm *.deb; \ \ - curl -sSLf "https://php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2; \ + curl --insecure -sSLf "https://php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2; \ echo 'c4e1cf6972b2a9c7f2777a18497d83bf713cdbecabb65d3ff62ba441aebb0091 php.tar.bz2' | sha256sum -cw --status; \ \ mkdir -p /usr/src/php; \ @@ -39,6 +40,8 @@ RUN set -eux; \ --with-pdo-mysql \ --with-zlib \ --enable-mbstring \ + --with-openssl=/usr \ + --with-libdir=lib/x86_64-linux-gnu \ ; \ make -j"$(nproc)"; \ make install; \