File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,10 @@ COPY --from=libpng /usr/local/lib/pkgconfig /usr/local/
144144FROM common as cpu_final
145145ARG BASE_CUDA_VERSION=10.1
146146ARG DEVTOOLSET_VERSION=9
147+ # Install Anaconda
148+ ADD ./common/install_conda_docker.sh install_conda.sh
149+ RUN bash ./install_conda.sh && rm install_conda.sh
150+ ENV PATH /opt/conda/bin:$PATH
147151RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
148152RUN sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
149153RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ ARG DEVTOOLSET_VERSION=11
120120# Install Anaconda
121121ADD ./common/install_conda_docker.sh install_conda.sh
122122RUN bash ./install_conda.sh && rm install_conda.sh
123+ ENV PATH /opt/conda/bin:$PATH
123124# Ensure the expected devtoolset is used
124125ENV PATH=/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/bin:$PATH
125126ENV LD_LIBRARY_PATH=/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/lib64:/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/lib:$LD_LIBRARY_PATH
You can’t perform that action at this time.
0 commit comments