diff options
Diffstat (limited to 'python/conda/linux_release')
-rw-r--r-- | python/conda/linux_release/buildenv/Dockerfile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/python/conda/linux_release/buildenv/Dockerfile b/python/conda/linux_release/buildenv/Dockerfile index 7046aca..503d1de 100644 --- a/python/conda/linux_release/buildenv/Dockerfile +++ b/python/conda/linux_release/buildenv/Dockerfile @@ -48,4 +48,11 @@ ENV PATH /root/miniconda3/bin:$PATH COPY Miniconda3-4.5.4-Linux-x86_64.sh /root/ RUN /bin/bash /root/Miniconda3-4.5.4-Linux-x86_64.sh -b && \ rm -f /root/Miniconda3* -RUN conda install -y conda-build conda-verify conda=4.6.14 + +RUN conda install -y conda-build conda-verify + +# cudatoolkit < 9.0 is not easily available anymore from recent versions of conda. +# We have to enable the free channel (globally) to reenable old versions of cudatookit.. +# See: https://docs.conda.io/projects/conda/en/latest/user-guide/configuration/free-channel.html#troubleshooting +# TODO: Remove when support for cudatoolkit 8.0 is dropped. +RUN conda config --set restore_free_channel true |