diff --git a/dockerfiles/release-ci.DockerFile b/dockerfiles/release-ci.DockerFile index d1eab7f..f44829e 100644 --- a/dockerfiles/release-ci.DockerFile +++ b/dockerfiles/release-ci.DockerFile @@ -1,36 +1,14 @@ FROM centos:centos7 -# GCC version -ARG DEVTOOLSET_VERSION=11 - RUN yum install -y centos-release-scl epel-release \ && yum update -y \ && yum clean all # install devtools and [enable it](https://access.redhat.com/solutions/527703) RUN yum install -y \ - devtoolset-${DEVTOOLSET_VERSION}-gcc \ - devtoolset-${DEVTOOLSET_VERSION}-gcc-c++ \ - devtoolset-${DEVTOOLSET_VERSION}-binutils \ git vim-common wget unzip which java-11-openjdk-devel.x86_64 \ libtool autoconf make ninja-build \ - && yum clean all \ - && echo "source scl_source enable devtoolset-${DEVTOOLSET_VERSION}" > /etc/profile.d/enable_gcc_toolset.sh - -ENV PATH="/opt/rh/devtoolset-${DEVTOOLSET_VERSION}/root/usr/bin:${PATH}" - -RUN wget --no-check-certificate https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/nasm-2.16.01.tar.gz \ - && tar zxf nasm-2.16.01.tar.gz \ - && rm -f nasm-2.16.01.tar.gz \ - && cd nasm-2.16.01 \ - && ./configure \ - && make install \ - && cd .. \ - && rm -rf nasm-2.16.01 - -RUN wget https://github.com/Kitware/CMake/releases/download/v3.26.3/cmake-3.26.3-linux-x86_64.sh \ - && sh cmake-3.26.3-linux-x86_64.sh --prefix=/usr --skip-license \ - && rm -f cmake-3.26.3-linux-x86_64.sh + && yum clean all # install conda RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \ @@ -39,8 +17,7 @@ RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \ && /root/miniconda3/bin/conda init bash # Install lld -RUN conda install -c conda-forge lld \ - && ln -s /root/miniconda3/bin/ld.lld /opt/rh/devtoolset-${DEVTOOLSET_VERSION}/root/usr/bin/ld.lld +RUN /root/miniconda3/bin/conda install -c conda-forge lld nasm cmake gxx==11.4.0 -y # install Rust RUN curl https://sh.rustup.rs -sSf | sh -s -- -y