File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
ai-experiments/cuda-miniconda-pytorch Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,13 @@ RUN apt-get update && apt-get install -y \
1919 && rm -rf /var/lib/apt/lists/*
2020
2121# Miniconda
22- RUN wget -O /tmp/miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
23- && bash /tmp/miniconda.sh -b -p /opt/conda \
24- && rm /tmp/miniconda.sh
22+ ENV CONDA_DIR=/opt/conda
23+ RUN MINICONDA_VERSION=py39_24.3.0-0 \
24+ wget -O /tmp/miniconda.tar.gz \
25+ https://repo.anaconda.com/miniconda/Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.tar.gz \
26+ && mkdir -p ${CONDA_DIR} \
27+ && tar -xzf /tmp/miniconda.tar.gz -C ${CONDA_DIR} --strip-components=1 \
28+ && rm /tmp/miniconda.tar.gz
2529ENV PATH="/opt/conda/bin:${PATH}"
2630
2731# ########################################################################################################
You can’t perform that action at this time.
0 commit comments