summaryrefslogtreecommitdiffstats
path: root/php-7.4-opt/build.Dockerfile
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2021-10-05 00:37:40 +0200
committerlookshe <github@lookshe.org>2021-10-05 00:37:40 +0200
commite10348f958792f753d0270ffc32608050c680363 (patch)
tree6d5ce36f0a982df5a01aaf037e47d35e27ebfea4 /php-7.4-opt/build.Dockerfile
parentb860da2e5a700ae562681c6e5331393fd298b21e (diff)
add openssl 1.1.1lopenssl
Diffstat (limited to 'php-7.4-opt/build.Dockerfile')
-rw-r--r--php-7.4-opt/build.Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/php-7.4-opt/build.Dockerfile b/php-7.4-opt/build.Dockerfile
index 79bc3f6..956a52d 100644
--- a/php-7.4-opt/build.Dockerfile
+++ b/php-7.4-opt/build.Dockerfile
@@ -89,6 +89,14 @@ RUN cd libsodium-1.0.18 \
&& ./configure --prefix=$DEP_PREFIX \
&& make \
&& checkinstall -y --pkgname $PACKAGE_NAME-libsodium
+RUN wget "https://www.openssl.org/source/openssl-1.1.1l.tar.gz" --no-check-certificate
+RUN tar xzf openssl-1.1.1l.tar.gz
+RUN cd openssl-1.1.1l \
+ && ./config shared --prefix=/opt/php-7.4/dependencies 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 -f Makefile 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 \