Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -9
Dockerfile
CHANGED
@@ -46,14 +46,9 @@ RUN apt-get update && apt-get install -y gnupg2 curl
|
|
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
|
50 |
-
|
51 |
-
RUN
|
52 |
-
RUN apt-key del 7fa2af80 \
|
53 |
-
&& apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/3bf863cc.pub \
|
54 |
-
&& apt-get update \
|
55 |
-
&& apt-get install -y libsm6 libgl1-mesa-glx libxext6 libfontconfig1 libxrender1 libcublas-dev\
|
56 |
-
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
|
57 |
#RUN gpg --list-sigs [email protected]
|
58 |
#RUN gpg --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
|
59 |
|
@@ -69,7 +64,7 @@ RUN apt-key del 7fa2af80 \
|
|
69 |
|
70 |
# Install FFmpeg
|
71 |
#RUN apt-get update && \
|
72 |
-
RUN apt-get install -y python3-pip ffmpeg
|
73 |
|
74 |
|
75 |
# Use the official Python 3.9 image as the base image
|
|
|
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 apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
|
50 |
+
|
51 |
+
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
|
|
|
|
|
|
|
|
|
|
|
52 |
#RUN gpg --list-sigs [email protected]
|
53 |
#RUN gpg --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
|
54 |
|
|
|
64 |
|
65 |
# Install FFmpeg
|
66 |
#RUN apt-get update && \
|
67 |
+
RUN apt-get install -y python3-pip ffmpeg libcublas-dev
|
68 |
|
69 |
|
70 |
# Use the official Python 3.9 image as the base image
|