summaryrefslogtreecommitdiffstats
path: root/php-8.0-opt/build.Dockerfile
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2022-03-30 23:55:45 +0200
committerlookshe <github@lookshe.org>2022-03-30 23:55:45 +0200
commit8ff9dc0290e58ed6bd8286e1de868f627be7f71d (patch)
tree497fb2e6965e7927014369655605d896d93da979 /php-8.0-opt/build.Dockerfile
parent64e65c8d7ef6c09d9ea42f0a51c80421f211ec3d (diff)
fix broken libxml2 package, add openssl to php 8.0
Diffstat (limited to 'php-8.0-opt/build.Dockerfile')
-rw-r--r--php-8.0-opt/build.Dockerfile10
1 files changed, 9 insertions, 1 deletions
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 \