Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -11,7 +11,7 @@ ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
|
|
11 |
#RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
|
12 |
|
13 |
# Import the NVIDIA GPG key
|
14 |
-
|
15 |
#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
|
16 |
#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
|
17 |
|
@@ -43,12 +43,12 @@ ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
|
|
43 |
#RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
|
44 |
#RUN apt-key adv --recv-keys --keyserver keys.gnupg.net F60F4B3D7FA2AF80
|
45 |
# Fetch the NVIDIA repository GPG key
|
46 |
-
|
47 |
|
48 |
# Add the NVIDIA repository to the APT sources list
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
|
53 |
#RUN gpg --list-sigs cudatools@nvidia.com
|
54 |
#RUN gpg --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
|
@@ -65,7 +65,7 @@ ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
|
|
65 |
|
66 |
# Install FFmpeg
|
67 |
RUN apt-get update && \
|
68 |
-
|
69 |
|
70 |
|
71 |
# Use the official Python 3.9 image as the base image
|
|
|
11 |
#RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
|
12 |
|
13 |
# Import the NVIDIA GPG key
|
14 |
+
RUN apt-get update && apt-get install -y gnupg2 curl
|
15 |
#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
|
16 |
#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
|
17 |
|
|
|
43 |
#RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
|
44 |
#RUN apt-key adv --recv-keys --keyserver keys.gnupg.net F60F4B3D7FA2AF80
|
45 |
# Fetch the NVIDIA repository GPG key
|
46 |
+
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
|
47 |
|
48 |
# Add the NVIDIA repository to the APT sources list
|
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 cudatools@nvidia.com
|
54 |
#RUN gpg --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
|
|
|
65 |
|
66 |
# Install FFmpeg
|
67 |
RUN apt-get update && \
|
68 |
+
apt-get install -y python3-pip ffmpeg
|
69 |
|
70 |
|
71 |
# Use the official Python 3.9 image as the base image
|