From 7ffab80350eb94c74240b58ca6ad3049ded6816f Mon Sep 17 00:00:00 2001 From: Dudi Zimberknopf Date: Sun, 29 Dec 2024 17:38:32 +0200 Subject: [PATCH 1/2] update python to 3.11 --- Dockerfile.rhel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.rhel b/Dockerfile.rhel index a554840..45a1542 100644 --- a/Dockerfile.rhel +++ b/Dockerfile.rhel @@ -3,7 +3,7 @@ FROM redhat/ubi9 as builder RUN yum update -y && \ yum install -y wget autoconf automake libtool git make openssl-devel gcc gcc-c++ libstdc++-static diffutils cmake3 && \ dnf install --assumeyes python3 python3-pip && \ - alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1 && \ + alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1 && \ alternatives --auto python3 # install rust From e5fb59ea102b8c846a99b426064c413f75def27e Mon Sep 17 00:00:00 2001 From: Dudi Zimberknopf Date: Sun, 29 Dec 2024 18:08:47 +0200 Subject: [PATCH 2/2] push python version to 3.11 --- Dockerfile.rhel | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile.rhel b/Dockerfile.rhel index 45a1542..668e083 100644 --- a/Dockerfile.rhel +++ b/Dockerfile.rhel @@ -1,8 +1,7 @@ FROM redhat/ubi9 as builder RUN yum update -y && \ - yum install -y wget autoconf automake libtool git make openssl-devel gcc gcc-c++ libstdc++-static diffutils cmake3 && \ - dnf install --assumeyes python3 python3-pip && \ + yum install -y wget autoconf automake python3.11 python3.11-pip libtool git make openssl-devel gcc gcc-c++ libstdc++-static diffutils cmake3 && \ alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1 && \ alternatives --auto python3