From e87cf859676b53f42f6f77f8e589daa1f8a62448 Mon Sep 17 00:00:00 2001 From: Moritz Maxeiner <mm@ucw.sh> Date: Fri, 13 Sep 2024 16:29:32 +0200 Subject: [PATCH] Update all python versions to use openssl 1.1 --- centos/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/centos/Dockerfile b/centos/Dockerfile index 04bc3b0..6a13a71 100644 --- a/centos/Dockerfile +++ b/centos/Dockerfile @@ -427,6 +427,7 @@ RUN version=3.7.12 && \ curl -sSLO https://www.python.org/ftp/python/${version}/Python-${version}.tgz && \ tar -xf Python-${version}.tgz && \ cd Python-${version} && \ + sed -i 's/PKG_CONFIG openssl /PKG_CONFIG openssl11 /g' configure && \ ./configure \ --prefix=/usr \ --enable-optimizations \ @@ -446,6 +447,7 @@ RUN version=3.8.19 && \ curl -sSLO https://www.python.org/ftp/python/${version}/Python-${version}.tgz && \ tar -xf Python-${version}.tgz && \ cd Python-${version} && \ + sed -i 's/PKG_CONFIG openssl /PKG_CONFIG openssl11 /g' configure && \ ./configure \ --prefix=/usr \ --enable-optimizations \ @@ -480,6 +482,7 @@ RUN version=3.9.19 && \ curl -sSLO https://www.python.org/ftp/python/${version}/Python-${version}.tgz && \ tar -xf Python-${version}.tgz && \ cd Python-${version} && \ + sed -i 's/PKG_CONFIG openssl /PKG_CONFIG openssl11 /g' configure && \ ./configure \ --prefix=/usr \ --enable-optimizations \ @@ -631,6 +634,7 @@ RUN version=3.8.19 && \ curl -sSLO https://www.python.org/ftp/python/${version}/Python-${version}.tgz && \ tar -xf Python-${version}.tgz && \ cd Python-${version} && \ + sed -i 's/PKG_CONFIG openssl /PKG_CONFIG openssl11 /g' configure && \ CFLAGS="-fPIC" LDFLAGS="-fPIC" ./configure \ --prefix=/opt/python/3.8 \ --enable-optimizations \ -- GitLab