Skip to content

Commit 436b788

Browse files
authored
Set CONDA_PLUGINS_AUTO_ACCEPT_TOS=yes for CI docker build [skip ci] (#966)
per NVIDIA/spark-rapids#13114 (comment) Use `CONDA_PLUGINS_AUTO_ACCEPT_TOS=yes` in dockerfile Verified in internal CI Signed-off-by: Peixin Li <[email protected]>
1 parent a379380 commit 436b788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ ENV JAVA_HOME /usr/lib/jvm/java-1.17.0-openjdk-amd64
3737

3838
# Install conda
3939
ENV PATH="/root/miniconda3/bin:${PATH}"
40+
ENV CONDA_PLUGINS_AUTO_ACCEPT_TOS="yes"
4041
RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
4142
&& mkdir /root/.conda \
4243
&& bash Miniconda3-latest-Linux-x86_64.sh -b \
4344
&& rm -f Miniconda3-latest-Linux-x86_64.sh \
44-
&& conda tos accept --override-channels -c conda-forge -c defaults \
4545
&& conda init && conda update -n base conda \
4646
&& conda install -n base conda-libmamba-solver \
4747
&& conda config --set solver libmamba

0 commit comments

Comments
 (0)