SIRF-SuperBuild
SIRF-SuperBuild copied to clipboard
removal of intel conda channel resulting in error when building docker image
Dockerfile:
FROM synerbi/sirf:latest-gpu
USER root
RUN conda install pytorch && fix-permissions "${CONDA_DIR}" /home/${NB_USER}
USER ${NB_UID}
Error:
=> ERROR [2/2] RUN conda install pytorch && fix-permissions "/opt/conda" /home/jovyan 137.3s
------
> [2/2] RUN conda install pytorch && fix-permissions "/opt/conda" /home/jovyan:
132.0 Retrieving notices: ...working... done
134.0 Channels:
134.0 - conda-forge
134.0 - intel
134.0 - ccpi
134.0 - defaults
134.0 Platform: linux-64
134.0 Collecting package metadata (repodata.json): ...working... failed
137.2
137.2 UnavailableInvalidChannel: HTTP 403 FORBIDDEN for channel intel <https://conda.anaconda.org/intel>
137.2
137.2 The channel is not accessible or is invalid.
137.2
137.2 You will need to adjust your conda configuration to proceed.
137.2 Use `conda config --show channels` to view your configuration's current state,
137.2 and use `conda config --show-sources` to view config file locations.
137.2
137.2
------
Dockerfile:3
--------------------
1 | FROM synerbi/sirf:latest-gpu
2 | USER root
3 | >>> RUN conda install pytorch && fix-permissions "${CONDA_DIR}" /home/${NB_USER}
4 | USER ${NB_UID}
--------------------
ERROR: failed to solve: process "/bin/bash -o pipefail -c conda install pytorch && fix-permissions \"${CONDA_DIR}\" /home/${NB_USER}" did not complete successfully: exit code: 1
Attempted to fix by adding lines
RUN conda config --remove-key channels && \
conda config --add channels defaults && \
conda config --add channels conda-forge && \
But no good
I thought this was handled, but @casperdcl can confirm.
Hmm it might be some demo/example/excercises environment.yml
@casperdcl presumably this can be closed?
fixed by #921