Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -19,8 +19,8 @@ RUN apt-get update && \
|
|
19 |
#RUN gpg --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
|
20 |
|
21 |
# Fetch the NVIDIA repository GPG key
|
22 |
-
RUN curl -fsSL
|
23 |
-
|
24 |
# Add the NVIDIA repository and specify the signed-by keyring
|
25 |
|
26 |
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 |
|
21 |
# Fetch the NVIDIA repository GPG key
|
22 |
+
RUN curl -fsSL http://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub | gpg --dearmor -o /usr/share/keyrings/cuda-archive-keyring.gpg
|
23 |
+
RUN gpg --import 7fa2af80.pub
|
24 |
# Add the NVIDIA repository and specify the signed-by keyring
|
25 |
|
26 |
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
|