hemantn commited on
Commit
e5b2f14
·
1 Parent(s): 939d400

Accept conda Terms of Service for build

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -24,8 +24,9 @@ RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh &
24
 
25
  ENV PATH="/opt/conda/bin:${PATH}"
26
 
27
- # Update conda and install packages with retry logic
28
- RUN conda update -n base -c defaults conda -y && \
 
29
  conda config --add channels conda-forge && \
30
  conda config --add channels bioconda && \
31
  conda config --set channel_priority flexible
 
24
 
25
  ENV PATH="/opt/conda/bin:${PATH}"
26
 
27
+ # Accept conda Terms of Service and configure channels
28
+ RUN conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main && \
29
+ conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r && \
30
  conda config --add channels conda-forge && \
31
  conda config --add channels bioconda && \
32
  conda config --set channel_priority flexible