Skip to content

Commit 42bb986

Browse files
authored
Fix Docker build by accepting Conda Terms of Service (#664)
This PR fixes Conda installation (started erroring recently) by applying the following fix: https://stackoverflow.com/a/79722499
1 parent 4d5c414 commit 42bb986

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --force-yes \
1717

1818
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
1919
ENV PATH="/root/.cargo/bin:${PATH}"
20+
ENV CONDA_PLUGINS_AUTO_ACCEPT_TOS=true
2021
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O install_miniconda.sh && \
2122
bash install_miniconda.sh -b -p /opt/conda && rm install_miniconda.sh
2223
ENV PATH="/opt/conda/bin:${PATH}"

0 commit comments

Comments
 (0)