Change docker build dynamic param to image instead of cuda version

Signed-off-by: Marcel Coetzee <marcel@mooncoon.com>
This commit is contained in:
Marcel Coetzee 2023-05-22 10:10:14 +02:00
parent 4f7a6daa25
commit e6639e6620

View file

@ -1,5 +1,5 @@
ARG CUDA_VERSION=12.1.1
FROM nvidia/cuda:${CUDA_VERSION}-devel-ubuntu22.04
ARG CUDA_IMAGE="12.1.1-devel-ubuntu22.04"
FROM ${CUDA_IMAGE}
# We need to set the host to 0.0.0.0 to allow outside access
ENV HOST 0.0.0.0