Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6ece8a2

Browse files
committed
Set CUDA_VERSION as build ARG
Signed-off-by: Marcel Coetzee <[email protected]>
1 parent 6c57d38 commit 6ece8a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile.cuda

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM nvidia/cuda:12.0.1-devel-ubuntu22.04
1+
ARG CUDA_VERSION=12.1.1
2+
FROM nvidia/cuda:${CUDA_VERSION}-devel-ubuntu22.04
23

34
# We need to set the host to 0.0.0.0 to allow outside access
45
ENV HOST 0.0.0.0

0 commit comments

Comments
 (0)