Gregniuki commited on
Commit
c1be66f
·
1 Parent(s): 6e6a89a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -50,9 +50,10 @@ RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cuda-archive-keyring.gpg
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
- && rm /etc/apt/sources.list.d/nvidia-ml.list /etc/apt/sources.list.d/cuda.list
54
- RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb \
55
- && dpkg -i cuda-keyring_1.0-1_all.deb
 
56
  #RUN gpg --list-sigs [email protected]
57
  #RUN gpg --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/7fa2af80.pub
58
 
 
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 \
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