Skip to content
Snippets Groups Projects
Commit 91d47dc9 authored by calrama's avatar calrama
Browse files

[centos] python 3.10 requires openssl>=1.1.1

parent fecf1649
Branches
No related tags found
No related merge requests found
Pipeline #46443 failed
...@@ -588,6 +588,7 @@ RUN version=3.10.2 && \ ...@@ -588,6 +588,7 @@ RUN version=3.10.2 && \
curl -sSLO https://www.python.org/ftp/python/${version}/Python-${version}.tgz && \ curl -sSLO https://www.python.org/ftp/python/${version}/Python-${version}.tgz && \
tar -xf Python-${version}.tgz && \ tar -xf Python-${version}.tgz && \
cd Python-${version} && \ cd Python-${version} && \
sed -i 's/PKG_CONFIG openssl /PKG_CONFIG openssl11 /g' configure && \
CFLAGS="-fPIC" LDFLAGS="-fPIC" ./configure \ CFLAGS="-fPIC" LDFLAGS="-fPIC" ./configure \
--prefix=/opt/python/3.10 \ --prefix=/opt/python/3.10 \
--enable-optimizations \ --enable-optimizations \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment