File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,15 @@ RUN ln -s /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/stubs/lib
3030
3131# Install packages
3232ENV DEBIAN_FRONTEND=noninteractive
33+
34+ RUN apt update -y --fix-missing && \
35+ apt install -y --no-install-recommends software-properties-common && \
36+ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin && \
37+ mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 && \
38+ apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub && \
39+ add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
40+
41+
3342RUN apt update -y --fix-missing && \
3443 apt install -y --no-install-recommends software-properties-common && \
3544 apt-get install -y --no-install-recommends \
You can’t perform that action at this time.
0 commit comments