From 8ff9dc0290e58ed6bd8286e1de868f627be7f71d Mon Sep 17 00:00:00 2001 From: lookshe Date: Wed, 30 Mar 2022 23:55:45 +0200 Subject: fix broken libxml2 package, add openssl to php 8.0 --- php-8.0-opt/build.Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'php-8.0-opt/build.Dockerfile') diff --git a/php-8.0-opt/build.Dockerfile b/php-8.0-opt/build.Dockerfile index fad3d41..1c07f0e 100644 --- a/php-8.0-opt/build.Dockerfile +++ b/php-8.0-opt/build.Dockerfile @@ -50,7 +50,7 @@ RUN cd libxml2-v2.9.10 \ && ./autogen.sh --prefix=$DEP_PREFIX \ && make \ && make install \ - && checkinstall -y --pkgname $PACKAGE_NAME-libxml2 + && checkinstall -y --pkgname $PACKAGE_NAME-libxml2 --pkgversion 2.9.10 RUN wget https://cmake.org/files/v2.8/cmake-2.8.12.1.tar.gz RUN tar xzf cmake-2.8.12.1.tar.gz RUN cd cmake-2.8.12.1 \ @@ -105,6 +105,14 @@ RUN cd libsodium-1.0.18 \ && ./configure --prefix=$DEP_PREFIX \ && make \ && checkinstall -y --pkgname $PACKAGE_NAME-libsodium +RUN curl -k "https://www.openssl.org/source/openssl-1.1.1n.tar.gz" > openssl-1.1.1n.tar.gz +RUN tar xzf openssl-1.1.1n.tar.gz +RUN cd openssl-1.1.1n \ + && ./config --prefix=$DEP_PREFIX --openssldir=$DEP_PREFIX no-idea no-mdc2 no-rc5 no-zlib no-ssl3 enable-unit-test no-ssl3-method enable-rfc3779 enable-cms enable-ec_nistp_64_gcc_128 \ + && make depend \ + && make all \ + && make test \ + && checkinstall -y --pkgname $PACKAGE_NAME-openssl RUN wget https://www.php.net/distributions/$PHP_VERSION.tar.gz RUN tar xzf $PHP_VERSION.tar.gz RUN cd $PHP_VERSION \ -- cgit v1.2.3