Merge pull request #137 from ItsThatRandomDev/fix/docker-conda-tos
Fix: accept Anaconda ToS in Dockerfile to prevent build failure
This commit is contained in:
@@ -38,6 +38,10 @@ ENV PATH="/workspace/miniconda3/bin:${PATH}"
|
|||||||
# initialize conda
|
# initialize conda
|
||||||
RUN conda init bash
|
RUN conda init bash
|
||||||
|
|
||||||
|
# Accept Anaconda TOS for required channels
|
||||||
|
RUN conda tos accept --channel https://repo.anaconda.com/pkgs/main && \
|
||||||
|
conda tos accept --channel https://repo.anaconda.com/pkgs/r
|
||||||
|
|
||||||
# create and activate conda environment
|
# create and activate conda environment
|
||||||
RUN conda create -n hunyuan3d21 python=3.10 && echo "source activate hunyuan3d21" > ~/.bashrc
|
RUN conda create -n hunyuan3d21 python=3.10 && echo "source activate hunyuan3d21" > ~/.bashrc
|
||||||
ENV PATH="/workspace/miniconda3/envs/hunyuan3d21/bin:${PATH}"
|
ENV PATH="/workspace/miniconda3/envs/hunyuan3d21/bin:${PATH}"
|
||||||
|
|||||||
Reference in New Issue
Block a user