Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +13 -4
Dockerfile
CHANGED
@@ -4,7 +4,7 @@ FROM debian:bullseye-slim
|
|
4 |
|
5 |
RUN dpkg --add-architecture amd64
|
6 |
RUN apt-get update && \
|
7 |
-
apt-get install -y --no-install-recommends gnupg2 curl ca-certificates
|
8 |
#RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
|
9 |
|
10 |
# Import the NVIDIA GPG key
|
@@ -20,16 +20,16 @@ RUN apt-get update && \
|
|
20 |
#RUN aptitude install debian-archive-keyring
|
21 |
#RUN apt-get install cuda-archive-keyring
|
22 |
# Fetch the NVIDIA repository GPG key
|
23 |
-
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
|
24 |
|
25 |
#RUN gpg --import 7fa2af80.pub
|
26 |
# Add the NVIDIA repository and specify the signed-by keyring
|
27 |
|
28 |
-
RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cuda-archive-keyring.gpg] http://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64 /" > /etc/apt/sources.list.d/cuda.list
|
29 |
#RUN apt-get install debian-keyring debian-archive-keyring
|
30 |
#RUN apt-key adv --keyserver keyring.debian.com --recv-keys A4B469963BF863CC
|
31 |
#RUN wget -qO - https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub | apt-key add -
|
32 |
-
RUN echo "APT::Get::AllowUnauthenticated "true";" | > /etc/apt/apt.conf.d/99-allow-unauthenticated
|
33 |
#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
|
34 |
#RUN curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub -o 7fa2af80.pub
|
35 |
#RUN gpg --fetch-keys 7fa2af80.pub
|
@@ -39,6 +39,15 @@ RUN echo "APT::Get::AllowUnauthenticated "true";" | > /etc/apt/apt.conf.d/99-all
|
|
39 |
#RUN gpg --recv-keys --keyserver keys.gnupg.net F60F4B3D7FA2AF80
|
40 |
#RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
|
41 |
#RUN apt-key adv --recv-keys --keyserver keys.gnupg.net F60F4B3D7FA2AF80
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
RUN apt-get update
|
43 |
|
44 |
|
|
|
4 |
|
5 |
RUN dpkg --add-architecture amd64
|
6 |
RUN apt-get update && \
|
7 |
+
apt-get install -y --no-install-recommends gnupg2 curl ca-certificates
|
8 |
#RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
|
9 |
|
10 |
# Import the NVIDIA GPG key
|
|
|
20 |
#RUN aptitude install debian-archive-keyring
|
21 |
#RUN apt-get install cuda-archive-keyring
|
22 |
# Fetch the NVIDIA repository GPG key
|
23 |
+
#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
|
24 |
|
25 |
#RUN gpg --import 7fa2af80.pub
|
26 |
# Add the NVIDIA repository and specify the signed-by keyring
|
27 |
|
28 |
+
#RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cuda-archive-keyring.gpg] http://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64 /" > /etc/apt/sources.list.d/cuda.list
|
29 |
#RUN apt-get install debian-keyring debian-archive-keyring
|
30 |
#RUN apt-key adv --keyserver keyring.debian.com --recv-keys A4B469963BF863CC
|
31 |
#RUN wget -qO - https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub | apt-key add -
|
32 |
+
#RUN echo "APT::Get::AllowUnauthenticated "true";" | > /etc/apt/apt.conf.d/99-allow-unauthenticated
|
33 |
#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
|
34 |
#RUN curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub -o 7fa2af80.pub
|
35 |
#RUN gpg --fetch-keys 7fa2af80.pub
|
|
|
39 |
#RUN gpg --recv-keys --keyserver keys.gnupg.net F60F4B3D7FA2AF80
|
40 |
#RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
|
41 |
#RUN apt-key adv --recv-keys --keyserver keys.gnupg.net F60F4B3D7FA2AF80
|
42 |
+
# Fetch the NVIDIA repository GPG key
|
43 |
+
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
|
44 |
+
|
45 |
+
# Add the NVIDIA repository to the APT sources list
|
46 |
+
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
|
47 |
+
|
48 |
+
# Update package lists
|
49 |
+
|
50 |
+
|
51 |
RUN apt-get update
|
52 |
|
53 |
|