diff --git a/docker/build_env/gpu/centos7/Dockerfile b/docker/build_env/gpu/centos7/Dockerfile index 4e5119bab9f39782bcba2776bd8dfaec5de02ffa..adeac7a65a65529b56af8a806a769202c82f447f 100644 --- a/docker/build_env/gpu/centos7/Dockerfile +++ b/docker/build_env/gpu/centos7/Dockerfile @@ -5,11 +5,11 @@ ENV NVIDIA_DRIVER_CAPABILITIES compute,utility RUN yum install -y epel-release centos-release-scl-rh && yum install -y wget curl && \ wget -qO- "https://cmake.org/files/v3.14/cmake-3.14.3-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local && \ yum install -y ccache make automake git python3-pip libcurl-devel python3-devel boost-static mysql-devel \ - devtoolset-6-gcc devtoolset-6-gcc-c++ llvm-toolset-7.0-clang llvm-toolset-7.0-clang-tools-extra lcov \ + devtoolset-7-gcc devtoolset-7-gcc-c++ devtoolset-7-gcc-gfortran llvm-toolset-7.0-clang llvm-toolset-7.0-clang-tools-extra lcov \ && \ rm -rf /var/cache/yum/* -RUN echo "source scl_source enable devtoolset-6" >> /etc/profile.d/devtoolset-6.sh +RUN echo "source scl_source enable devtoolset-7" >> /etc/profile.d/devtoolset-7.sh RUN echo "source scl_source enable llvm-toolset-7.0" >> /etc/profile.d/llvm-toolset-7.sh ENV CLANG_TOOLS_PATH="/opt/rh/llvm-toolset-7.0/root/usr/bin"