Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Sep 13, 2024
1 parent de0d961 commit 6840bbe
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docker/AlmaLinux8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ RUN dnf config-manager --set-enabled powertools
RUN dnf install -y -q \
git \
git-lfs \
python39 \
wget \
gcc-toolset-11 \
gcc-toolset-11-libubsan-devel \
Expand All @@ -40,6 +39,18 @@ RUN dnf module install -y -q nvidia-driver:535-dkms
RUN echo "source /opt/rh/gcc-toolset-11/enable" >> /etc/bashrc
SHELL ["/bin/bash", "--login", "-c"]

# Install newer version of Python
RUN wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz && \
tar xzf Python-3.9.6.tgz && \
cd Python-3.9.6 && \
./configure --enable-optimizations --enable-loadable-sqlite-extensions && \
make altinstall && \
cd .. && \
rm Python-3.9.6.tgz && \
rm -rf Python-3.9.6 && \
ln -sf /usr/local/bin/python3.9 /usr/bin/python3 && \
ln -sf /usr/local/bin/pip3.9 /usr/bin/pip3

# Install newer version of CMake
RUN wget https://cmake.org/files/v3.24/cmake-3.24.2.tar.gz && \
tar xzf cmake-3.24.2.tar.gz && \
Expand Down

0 comments on commit 6840bbe

Please sign in to comment.