File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ RUN CONDA_ARCH=$([ "$TARGETARCH" = "arm64" ] && echo "aarch64" || echo "x86_64")
14
14
/bin/bash ~/miniconda.sh -b -p /opt/conda && \
15
15
rm ~/miniconda.sh
16
16
ENV PATH=/opt/conda/bin:$PATH
17
- # ENV LD_LIBRARY_PATH=/opt/conda/lib:$LD_LIBRARY_PATH
18
17
19
18
# Install CUDA and cuDNN.
20
19
ARG CUDA_VERSION=11.8
21
20
ARG CUDNN_VERSION=8.8
22
21
RUN conda install --name base --yes conda-libmamba-solver && \
23
22
conda config --set solver libmamba && \
24
- conda install --name base --channel conda-forge --yes cudatoolkit="$CUDA_VERSION" cudnn="$CUDNN_VERSION" && \
23
+ conda create --name cuda --no-default-packages --channel conda-forge --yes cudatoolkit="$CUDA_VERSION" cudnn="$CUDNN_VERSION" && \
25
24
conda clean --all --force-pkgs-dirs --yes
25
+ ENV LD_LIBRARY_PATH=/opt/conda/envs/cuda/lib:$LD_LIBRARY_PATH
You can’t perform that action at this time.
0 commit comments