diff options
author | Allard Hendriksen <allard@allard-dell-xps-9560> | 2019-09-17 14:34:42 +0200 |
---|---|---|
committer | Allard Hendriksen <allard@allard-dell-xps-9560> | 2019-09-17 14:34:42 +0200 |
commit | b5f4ef24829d7a10a763dd1f204277b9012d1eb6 (patch) | |
tree | 3f91512dc967ce6a301f086df324fc92dc5e256a /python | |
parent | a95976b17403b1e68977a59a557686afb3369dd5 (diff) | |
download | astra-b5f4ef24829d7a10a763dd1f204277b9012d1eb6.tar.gz astra-b5f4ef24829d7a10a763dd1f204277b9012d1eb6.tar.bz2 astra-b5f4ef24829d7a10a763dd1f204277b9012d1eb6.tar.xz astra-b5f4ef24829d7a10a763dd1f204277b9012d1eb6.zip |
Use recent version of conda during linux conda-build
This fixes the issue where cudatoolkit=8.0 would not install any more
with recent versions of conda. Also, no corruption appears to take
place while downloading packages.
Diffstat (limited to 'python')
-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 |