Gregniuki commited on
Commit
1b3028b
·
1 Parent(s): a1faa54

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 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
- 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