fffiloni commited on
Commit
432796a
·
verified ·
1 Parent(s): f662264

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -52,10 +52,11 @@ RUN apt-get update && apt-get install -y \
52
  wget \
53
  && wget https://developer.download.nvidia.com/compute/cudnn/9.3.0/local_installers/cudnn-local-repo-ubuntu2204-9.3.0_1.0-1_amd64.deb \
54
  && dpkg -i cudnn-local-repo-ubuntu2204-9.3.0_1.0-1_amd64.deb \
55
- && apt-key add /var/cudnn-local-repo-*/7fa2af80.pub \
56
  && apt-get update \
 
57
  && apt-get clean \
58
- && rm -rf /var/cudnn-local-repo-* \
59
  && rm cudnn-local-repo-ubuntu2204-9.3.0_1.0-1_amd64.deb
60
 
61
  # Switch back to the user
 
52
  wget \
53
  && wget https://developer.download.nvidia.com/compute/cudnn/9.3.0/local_installers/cudnn-local-repo-ubuntu2204-9.3.0_1.0-1_amd64.deb \
54
  && dpkg -i cudnn-local-repo-ubuntu2204-9.3.0_1.0-1_amd64.deb \
55
+ && cp /var/cudnn-local-repo-ubuntu2204-9.3.0/cudnn-local-*-keyring.gpg /usr/share/keyrings/ \
56
  && apt-get update \
57
+ && apt-get install -y libcudnn9=9.3.0.* \
58
  && apt-get clean \
59
+ && rm -rf /var/lib/apt/lists/* \
60
  && rm cudnn-local-repo-ubuntu2204-9.3.0_1.0-1_amd64.deb
61
 
62
  # Switch back to the user