Skip to content

Commit 2bcd760

Browse files
committed
Add openssl to PHP53
1 parent aa2c035 commit 2bcd760

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.docker/php53/Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ RUN set -eux; \
66
codename='jessie'; \
77
{ \
88
echo "deb http://archive.debian.org/debian ${codename} main"; \
9+
echo "deb http://archive.debian.org/debian ${codename}-backports main"; \
910
echo "deb http://archive.debian.org/debian-security ${codename}/updates main"; \
1011
} > /etc/apt/sources.list;
1112

@@ -25,7 +26,7 @@ RUN set -eux; \
2526
dpkg -i bison_2.7.1.dfsg-1_amd64.deb; \
2627
rm *.deb; \
2728
\
28-
curl -sSLf "https://php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2; \
29+
curl --insecure -sSLf "https://php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2; \
2930
echo 'c4e1cf6972b2a9c7f2777a18497d83bf713cdbecabb65d3ff62ba441aebb0091 php.tar.bz2' | sha256sum -cw --status; \
3031
\
3132
mkdir -p /usr/src/php; \
@@ -39,6 +40,8 @@ RUN set -eux; \
3940
--with-pdo-mysql \
4041
--with-zlib \
4142
--enable-mbstring \
43+
--with-openssl=/usr \
44+
--with-libdir=lib/x86_64-linux-gnu \
4245
; \
4346
make -j"$(nproc)"; \
4447
make install; \

0 commit comments

Comments
 (0)