SuperNNova
SuperNNova copied to clipboard
[Docker] image build fails
make cpu leads to:
=> ERROR [stage-3 10/26] RUN /u/home/.miniconda3/bin/conda env create -f conda_en 0.9s
------
> [stage-3 10/26] RUN /u/home/.miniconda3/bin/conda env create -f conda_env.yml:
0.761
0.761 CondaToSNonInteractiveError: Terms of Service have not been accepted for the following channels. Please accept or remove them before proceeding:
0.761 • https://repo.anaconda.com/pkgs/main
0.761 • https://repo.anaconda.com/pkgs/r
0.761
0.761 To accept a channel's Terms of Service, run the following and replace `CHANNEL` with the channel name/URL:
0.761 ‣ conda tos accept --override-channels --channel CHANNEL
0.761
0.761 To remove channels with rejected Terms of Service, run the following and replace `CHANNEL` with the channel name/URL:
0.761 ‣ conda config --remove channels CHANNEL
0.761
------
Dockerfile:154
--------------------
152 | RUN ${CONDA} config --set auto_activate_base false
153 | RUN ${CONDA} config --set changeps1 False
154 | >>> RUN ${CONDA} env create -f conda_env.yml
155 | RUN ${CONDA} clean -ya
156 | RUN rm conda_env.yml
--------------------
ERROR: failed to solve: process "/bin/sh -c ${CONDA} env create -f conda_env.yml" did not complete successfully: exit code: 1
make: *** [Makefile:6: cpu] Error 1
Either the Dockerfile needs to be updated by accepting the Terms of Service of the channel -- or you can move away from conda ;-)
Yes, Anaconda requires Terms of Service acceptance for these channels. Also, why don't we add the latest configuration using UV, which is much better.