Update Dockerfile
Browse files- 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.
|