Skip to content

Commit ed846b6

Browse files
Merge pull request #14006 from KratosMultiphysics/scripts/docker/update-rocky-python-
[Scripts][Docker] Update Rocky Linux python version to 3.10.18
2 parents f056f7f + 8e37b28 commit ed846b6

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • scripts/docker_files/docker_file_ci_rockylinux8

scripts/docker_files/docker_file_ci_rockylinux8/DockerFile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ RUN dnf -y install gcc-toolset-11
1111
# TODO: /etc/bashrc is never executed so this line does not fulfill its purpose => fix it.
1212
RUN echo "source /opt/rh/gcc-toolset-11/enable" >> /etc/bashrc
1313

14-
# Install python3.8.10
14+
# Install python3.10.18
1515
RUN dnf update -y && \
1616
dnf groupinstall "Development Tools" -y && \
1717
dnf install -y wget openssl-devel bzip2-devel libffi-devel && \
18-
wget https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tgz && \
19-
tar xzf Python-3.8.10.tgz && \
20-
cd Python-3.8.10 && \
18+
wget https://www.python.org/ftp/python/3.10.18/Python-3.10.18.tgz && \
19+
tar xzf Python-3.10.18.tgz && \
20+
cd Python-3.10.18 && \
2121
./configure --enable-optimizations && \
2222
make altinstall && \
2323
cd .. && \
24-
rm -rf Python-3.8.10 Python-3.8.10.tgz
24+
rm -rf Python-3.10.18 Python-3.10.18.tgz
2525

26-
ENV PYTHON_EXECUTABLE /usr/local/bin/python3.8
26+
ENV PYTHON_EXECUTABLE /usr/local/bin/python3.10
2727

28-
RUN python3.8 -m pip install numpy sympy scipy parameterized
28+
RUN python3.10 -m pip install numpy sympy scipy parameterized
2929

3030
# Install build utils
3131
RUN dnf update -y && dnf install -y \

0 commit comments

Comments
 (0)