jclyo1 commited on
Commit
6899a0b
1 Parent(s): 652ae4f

nvida/cuda image

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -12
Dockerfile CHANGED
@@ -1,13 +1,4 @@
1
- FROM python:3.9
2
-
3
-
4
-
5
- RUN wget https://nvidia.github.io/nvidia-docker/gpgkey --no-check-certificate
6
- RUN apt-key add gpgkey
7
- RUN distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
8
- RUN curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | tee /etc/apt/sources.list.d/nvidia-docker.list
9
-
10
-
11
 
12
  # Using the Ubuntu image (our OS)
13
  # Update package manager (apt-get)
@@ -15,8 +6,7 @@ RUN curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docke
15
  # Python and Pip
16
  RUN apt-get update && apt-get install -y \
17
  python3-pip \
18
- wget \
19
- nvidia-container-toolkit
20
 
21
  WORKDIR /code
22
 
 
1
+ FROM nvidia/cuda:12.0.0-cudnn8-devel-ubuntu22.04
 
 
 
 
 
 
 
 
 
2
 
3
  # Using the Ubuntu image (our OS)
4
  # Update package manager (apt-get)
 
6
  # Python and Pip
7
  RUN apt-get update && apt-get install -y \
8
  python3-pip \
9
+ wget
 
10
 
11
  WORKDIR /code
12