Set CUDA_VERSION as build ARG
Signed-off-by: Marcel Coetzee <marcel@mooncoon.com>
This commit is contained in:
parent
6c57d38552
commit
6ece8a225a
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
FROM nvidia/cuda:12.0.1-devel-ubuntu22.04
|
||||
ARG CUDA_VERSION=12.1.1
|
||||
FROM nvidia/cuda:${CUDA_VERSION}-devel-ubuntu22.04
|
||||
|
||||
# We need to set the host to 0.0.0.0 to allow outside access
|
||||
ENV HOST 0.0.0.0
|
||||
|
|
Loading…
Reference in a new issue