fffiloni commited on
Commit
7d1f958
·
verified ·
1 Parent(s): 3a0960f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -14
Dockerfile CHANGED
@@ -1,5 +1,4 @@
1
- # Use the NVIDIA CUDA runtime as a base image for CUDA 11.8
2
- FROM nvidia/cuda:11.8.0-devel-ubuntu22.04
3
 
4
  # Set environment variables
5
  ENV DEBIAN_FRONTEND=noninteractive
@@ -47,18 +46,6 @@ RUN apt-get update && apt-get install -y \
47
  && update-alternatives --install /usr/bin/pip pip /usr/local/bin/pip 1 \
48
  && apt-get clean
49
 
50
- # Install CUDA 11.8 and cuDNN 9.3.0
51
- RUN 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 \
52
- && 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 \
53
- && apt-get update && apt-get install -y \
54
- libcudnn9=8.9.3.0-1+cuda11.8 \
55
- libcudnn9-dev=8.9.3.0-1+cuda11.8 \
56
- libcudnn9-doc=8.9.3.0-1+cuda11.8 \
57
- && apt-get clean
58
-
59
- # Verify CUDA and cuDNN installation
60
- RUN dpkg-query -W libcudnn9
61
-
62
  # Switch back to the user
63
  USER user
64
 
 
1
+ FROM nvidia/cuda:12.3.2-cudnn9-runtime-ubuntu22.04
 
2
 
3
  # Set environment variables
4
  ENV DEBIAN_FRONTEND=noninteractive
 
46
  && update-alternatives --install /usr/bin/pip pip /usr/local/bin/pip 1 \
47
  && apt-get clean
48
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  # Switch back to the user
50
  USER user
51