From 91d47dc9c40b2dfa08702704ff045a96ad89756f Mon Sep 17 00:00:00 2001
From: Moritz Maxeiner <mm@ucw.sh>
Date: Thu, 20 Jan 2022 14:37:57 +0100
Subject: [PATCH] [centos] python 3.10 requires openssl>=1.1.1

---
 centos/Dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/centos/Dockerfile b/centos/Dockerfile
index a493a60..fb92bc7 100644
--- a/centos/Dockerfile
+++ b/centos/Dockerfile
@@ -588,6 +588,7 @@ RUN version=3.10.2 && \
     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.10 \
         --enable-optimizations \
-- 
GitLab