Gregniuki commited on
Commit
6e6a89a
·
1 Parent(s): aa091cf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -49,7 +49,10 @@ RUN curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/debian11
49
  RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cuda-archive-keyring.gpg] https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64 /" > /etc/apt/sources.list.d/cuda.list
50
  RUN curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub > 7fa2af80.pub
51
  RUN gpg --import 7fa2af80.pub
52
-
 
 
 
53
  #RUN gpg --list-sigs [email protected]
54
  #RUN gpg --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
55
 
 
49
  RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cuda-archive-keyring.gpg] https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64 /" > /etc/apt/sources.list.d/cuda.list
50
  RUN curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub > 7fa2af80.pub
51
  RUN gpg --import 7fa2af80.pub
52
+ RUN apt-key del 7fa2af80 \
53
+ && rm /etc/apt/sources.list.d/nvidia-ml.list /etc/apt/sources.list.d/cuda.list
54
+ RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb \
55
+ && dpkg -i cuda-keyring_1.0-1_all.deb
56
  #RUN gpg --list-sigs [email protected]
57
  #RUN gpg --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
58