jclyo1 commited on
Commit
e1a05b3
1 Parent(s): 9e00db0
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile CHANGED
@@ -1,5 +1,14 @@
1
  FROM python:3.9
2
 
 
 
 
 
 
 
 
 
 
3
  # Using the Ubuntu image (our OS)
4
  # Update package manager (apt-get)
5
  # and install (with the yes flag `-y`)
 
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 | sudo 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)
14
  # and install (with the yes flag `-y`)