matthoffner commited on
Commit
76fb5c4
·
verified ·
1 Parent(s): 2ae36bd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile CHANGED
@@ -1,3 +1,11 @@
 
 
 
 
 
 
 
 
1
  FROM ${BASE_CUDA_DEV_CONTAINER} as build
2
 
3
  # Unless otherwise specified, we make a fat build.
 
1
+ ARG UBUNTU_VERSION=22.04
2
+ # This needs to generally match the container host's environment.
3
+ ARG CUDA_VERSION=11.7.1
4
+ # Target the CUDA build image
5
+ ARG BASE_CUDA_DEV_CONTAINER=nvidia/cuda:${CUDA_VERSION}-devel-ubuntu${UBUNTU_VERSION}
6
+ # Target the CUDA runtime image
7
+ ARG BASE_CUDA_RUN_CONTAINER=nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_VERSION}
8
+
9
  FROM ${BASE_CUDA_DEV_CONTAINER} as build
10
 
11
  # Unless otherwise specified, we make a fat build.