Skip to content

Commit 770abd5

Browse files
committed
fix: accept tos
1 parent ea9c1b5 commit 770abd5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/conda/Dockerfile.conda

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ ARG PYTHON_VERSION
2121
RUN wget --quiet "https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh" -O /tmp/miniconda.sh && \
2222
/bin/bash /tmp/miniconda.sh -b -p /opt/conda && \
2323
rm /tmp/miniconda.sh && \
24+
# Accept the ToS for the defaults channels:
25+
/opt/conda/bin/conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main && \
26+
/opt/conda/bin/conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r &&
2427
# Install the correct version of python (as the time of
2528
# writing, anaconda installed python 3.8 by default)
2629
/opt/conda/bin/conda install python=${PYTHON_VERSION} && \

0 commit comments

Comments
 (0)