@@ -7,8 +7,8 @@ ENV LC_ALL en_US.UTF-8
77ENV LANG en_US.UTF-8
88ENV LANGUAGE en_US.UTF-8
99
10- ARG DEVTOOLSET_VERSION=11
11- RUN yum install -y wget curl perl util-linux xz bzip2 git patch which perl zlib-devel yum-utils gcc-toolset-${DEVTOOLSET_VERSION}-toolchain
10+ ARG DEVTOOLSET_VERSION=13
11+ RUN yum install -y sudo wget curl perl util-linux xz bzip2 git patch which perl zlib-devel yum-utils gcc-toolset-${DEVTOOLSET_VERSION}-gcc gcc-toolset-${DEVTOOLSET_VERSION}-gcc-c++ gcc-toolset-${DEVTOOLSET_VERSION}-gcc-gfortran gcc-toolset-${DEVTOOLSET_VERSION}-gdb
1212ENV PATH=/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/bin:$PATH
1313ENV LD_LIBRARY_PATH=/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/lib64:/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/lib:$LD_LIBRARY_PATH
1414# Install setuptools and wheel for python 3.12/3.13
@@ -65,7 +65,7 @@ ADD ./common/install_libpng.sh install_libpng.sh
6565RUN bash ./install_libpng.sh && rm install_libpng.sh
6666
6767FROM ${GPU_IMAGE} as common
68- ARG DEVTOOLSET_VERSION=11
68+ ARG DEVTOOLSET_VERSION=13
6969ENV LC_ALL en_US.UTF-8
7070ENV LANG en_US.UTF-8
7171ENV LANGUAGE en_US.UTF-8
@@ -88,13 +88,11 @@ RUN yum install -y \
8888 wget \
8989 which \
9090 xz \
91- gcc-toolset-${DEVTOOLSET_VERSION}-toolchain \
92- glibc-langpack-en
93-
94- # ius-release package needs epel-release-7
95- RUN yum install -y \
96- https://repo.ius.io/ius-release-el7.rpm \
97- https://ossci-linux.s3.amazonaws.com/epel-release-7-14.noarch.rpm
91+ glibc-langpack-en \
92+ gcc-toolset-${DEVTOOLSET_VERSION}-gcc \
93+ gcc-toolset-${DEVTOOLSET_VERSION}-gcc-c++ \
94+ gcc-toolset-${DEVTOOLSET_VERSION}-gcc-gfortran \
95+ gcc-toolset-${DEVTOOLSET_VERSION}-gdb
9896#Stopped working as of 8/1 (due to CentOS EOL?)
9997# https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
10098RUN yum swap -y git git236-core
@@ -122,7 +120,7 @@ COPY --from=jni /usr/local/include/jni.h /usr/local/
122120
123121FROM common as cpu_final
124122ARG BASE_CUDA_VERSION=11.8
125- ARG DEVTOOLSET_VERSION=11
123+ ARG DEVTOOLSET_VERSION=13
126124# Install Anaconda
127125ADD ./common/install_conda_docker.sh install_conda.sh
128126RUN bash ./install_conda.sh && rm install_conda.sh
0 commit comments