fffiloni commited on
Commit
cecc2bd
·
verified ·
1 Parent(s): 013a047

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -33,6 +33,7 @@ RUN apt-get update && apt-get install -y \
33
  curl \
34
  git \
35
  software-properties-common \
 
36
  libgl1-mesa-glx \
37
  libglib2.0-0 \
38
  && add-apt-repository ppa:deadsnakes/ppa -y && \
@@ -43,8 +44,7 @@ RUN apt-get update && apt-get install -y \
43
  && curl -sS https://bootstrap.pypa.io/get-pip.py | python3.9 \
44
  && update-alternatives --install /usr/bin/python python /usr/bin/python3.9 1 \
45
  && update-alternatives --install /usr/bin/pip pip /usr/local/bin/pip 1 \
46
- && apt-get install -y gnupg && \
47
- curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub | gpg --dearmor -o /usr/share/keyrings/cuda-archive-keyring.gpg && \
48
  echo "deb [signed-by=/usr/share/keyrings/cuda-archive-keyring.gpg] https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /" > /etc/apt/sources.list.d/cuda.list && \
49
  apt-get update && apt-get install -y libcudnn8=8.9.3.* libcudnn8-dev=8.9.3.* && \
50
  rm -rf /var/lib/apt/lists/*
 
33
  curl \
34
  git \
35
  software-properties-common \
36
+ gnupg \
37
  libgl1-mesa-glx \
38
  libglib2.0-0 \
39
  && add-apt-repository ppa:deadsnakes/ppa -y && \
 
44
  && curl -sS https://bootstrap.pypa.io/get-pip.py | python3.9 \
45
  && update-alternatives --install /usr/bin/python python /usr/bin/python3.9 1 \
46
  && update-alternatives --install /usr/bin/pip pip /usr/local/bin/pip 1 \
47
+ && curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub | gpg --batch --yes --dearmor -o /usr/share/keyrings/cuda-archive-keyring.gpg && \
 
48
  echo "deb [signed-by=/usr/share/keyrings/cuda-archive-keyring.gpg] https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /" > /etc/apt/sources.list.d/cuda.list && \
49
  apt-get update && apt-get install -y libcudnn8=8.9.3.* libcudnn8-dev=8.9.3.* && \
50
  rm -rf /var/lib/apt/lists/*