File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ RUN apt-get update && \
1010 apt-get clean && \
1111 rm -rf /var/lib/apt/lists/*
1212
13+ ENV CONDA_PLUGINS_AUTO_ACCEPT_TOS=yes
1314ENV CONDA_ALWAYS_YES=true
1415
1516# We always download and install the latest miniconda3,
@@ -21,9 +22,6 @@ ARG PYTHON_VERSION
2122RUN wget --quiet "https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh" -O /tmp/miniconda.sh && \
2223 /bin/bash /tmp/miniconda.sh -b -p /opt/conda && \
2324 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 &&
2725 # Install the correct version of python (as the time of
2826 # writing, anaconda installed python 3.8 by default)
2927 /opt/conda/bin/conda install python=${PYTHON_VERSION} && \
You can’t perform that action at this time.
0 commit comments