matthoffner commited on
Commit
922b09a
·
1 Parent(s): 6cba908

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -14
Dockerfile CHANGED
@@ -2,21 +2,10 @@ FROM nvidia/cuda:12.2.0-devel-ubuntu20.04
2
 
3
  ENV DEBIAN_FRONTEND=noninteractive
4
 
5
- # Add NVIDIA CUDA Repository
6
- RUN apt update && apt install -y wget gnupg && \
7
- wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin && \
8
- mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 && \
9
- apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/7fa2af80.pub && \
10
- add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
11
-
12
- # Install Specific libcublas Version
13
  RUN apt update && \
14
- apt install -y libcublas-12-2=12.2.5.6 libcublas-dev-12-2=12.2.5.6 && \
15
- apt clean && rm -rf /var/lib/apt/lists/*
16
-
17
- # Install Remaining Packages
18
- RUN apt update && \
19
- apt install --no-install-recommends -y cuda-libraries-12-2 cuda-libraries-dev-12-2 build-essential python3 python3-pip curl git cmake zlib1g-dev libblas-dev && \
20
  apt clean && rm -rf /var/lib/apt/lists/*
21
 
22
  WORKDIR /app
 
2
 
3
  ENV DEBIAN_FRONTEND=noninteractive
4
 
5
+ # Install dependencies
 
 
 
 
 
 
 
6
  RUN apt update && \
7
+ apt install --no-install-recommends -y build-essential python3 python3-pip wget curl git cmake zlib1g-dev libblas-dev && \
8
+ apt install -y cuda-libraries-dev-12-2 && \
 
 
 
 
9
  apt clean && rm -rf /var/lib/apt/lists/*
10
 
11
  WORKDIR /app