[SyneRBI/SIRF-SuperBuild] removal of intel conda channel resulting in error when building docker image (Issue #928)

1 view
Skip to first unread message

samdporter

unread,
Aug 21, 2024, 9:43:58 AM8/21/24
to SyneRBI/SIRF-SuperBuild, Subscribed

See: https://community.intel.com/t5/oneAPI-Registration-Download/Disappearance-of-intel-conda-channel/m-p/1614250#M2163

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


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/issues/928@github.com>

Kris Thielemans

unread,
Aug 21, 2024, 9:45:10 AM8/21/24
to SyneRBI/SIRF-SuperBuild, Subscribed

I thought this was handled, but @casperdcl can confirm.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/issues/928/2302098652@github.com>

Casper da Costa-Luis

unread,
Aug 21, 2024, 9:46:18 AM8/21/24
to SyneRBI/SIRF-SuperBuild, Subscribed

Hmm it might be some demo/example/excercises environment.yml


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/issues/928/2302100987@github.com>

Kris Thielemans

unread,
Dec 8, 2025, 3:23:57 PM12/8/25
to SyneRBI/SIRF-SuperBuild, Subscribed
KrisThielemans left a comment (SyneRBI/SIRF-SuperBuild#928)

@casperdcl presumably this can be closed?


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/issues/928/3628855363@github.com>

Casper da Costa-Luis

unread,
Dec 8, 2025, 6:31:54 PM12/8/25
to SyneRBI/SIRF-SuperBuild, Subscribed
casperdcl left a comment (SyneRBI/SIRF-SuperBuild#928)

fixed by #921


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/issues/928/3629483041@github.com>

Casper da Costa-Luis

unread,
Dec 8, 2025, 6:32:00 PM12/8/25
to SyneRBI/SIRF-SuperBuild, Subscribed

Closed #928 as completed.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/issue/928/issue_event/21439123192@github.com>

Reply all
Reply to author
Forward
0 new messages