Gregniuki commited on
Commit
791b4cb
·
1 Parent(s): 10e139c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -10,15 +10,16 @@ RUN apt-get update && \
10
  # Import the NVIDIA GPG key
11
  #RUN apt-get update && apt-get install -y gnupg2 curl
12
  #RUN curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub | gpg --dearmor -o /usr/share/keyrings/cuda-archive-keyring.gpg
13
- RUN curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub | gpg --dearmor -o /usr/share/keyrings/cuda-archive-keyring.gpg
14
 
15
  # Add the CUDA repository to sources.list
16
  #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 /" | tee /etc/apt/sources.list.d/cuda.list
17
  #USER root
18
- 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
19
- RUN gpg --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
 
20
  RUN gpg --import 7fa2af80.pub
21
- RUN gpg --recv-keys --keyserver keys.gnupg.net F60F4B3D7FA2AF80
22
  #RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
23
  #RUN apt-key adv --recv-keys --keyserver keys.gnupg.net F60F4B3D7FA2AF80
24
  RUN apt-get update
 
10
  # Import the NVIDIA GPG key
11
  #RUN apt-get update && apt-get install -y gnupg2 curl
12
  #RUN curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub | gpg --dearmor -o /usr/share/keyrings/cuda-archive-keyring.gpg
13
+ #RUN curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub | gpg --dearmor -o /usr/share/keyrings/cuda-archive-keyring.gpg
14
 
15
  # Add the CUDA repository to sources.list
16
  #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 /" | tee /etc/apt/sources.list.d/cuda.list
17
  #USER root
18
+ #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
19
+ #RUN gpg --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
20
+ RUN curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub -o 7fa2af80.pub
21
  RUN gpg --import 7fa2af80.pub
22
+ #RUN gpg --recv-keys --keyserver keys.gnupg.net F60F4B3D7FA2AF80
23
  #RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
24
  #RUN apt-key adv --recv-keys --keyserver keys.gnupg.net F60F4B3D7FA2AF80
25
  RUN apt-get update