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

Update all python versions to use openssl 1.1

parent c795ed70
Branches
No related tags found
No related merge requests found
Checking pipeline status
...@@ -427,6 +427,7 @@ RUN version=3.7.12 && \ ...@@ -427,6 +427,7 @@ RUN version=3.7.12 && \
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 && \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--enable-optimizations \ --enable-optimizations \
...@@ -446,6 +447,7 @@ RUN version=3.8.19 && \ ...@@ -446,6 +447,7 @@ RUN version=3.8.19 && \
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 && \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--enable-optimizations \ --enable-optimizations \
...@@ -480,6 +482,7 @@ RUN version=3.9.19 && \ ...@@ -480,6 +482,7 @@ RUN version=3.9.19 && \
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 && \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--enable-optimizations \ --enable-optimizations \
...@@ -631,6 +634,7 @@ RUN version=3.8.19 && \ ...@@ -631,6 +634,7 @@ RUN version=3.8.19 && \
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.8 \ --prefix=/opt/python/3.8 \
--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