From e6639e6620d7f6f8dcabef41b14f34870a3460ca Mon Sep 17 00:00:00 2001 From: Marcel Coetzee Date: Mon, 22 May 2023 10:10:14 +0200 Subject: [PATCH] Change docker build dynamic param to image instead of cuda version Signed-off-by: Marcel Coetzee --- Dockerfile.cuda | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.cuda b/Dockerfile.cuda index e95fa23..dda7a9f 100644 --- a/Dockerfile.cuda +++ b/Dockerfile.cuda @@ -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