Fixes ARG before FROM bug (#2371)

Fixes ARGS before FROM bug
This commit is contained in:
Panteleris Paschalis authored and GitHub committed 2023-08-31 22:04:01 +00:00
1 parent 242c23f0f0
commit a121d76fd0
1 file changed
+3
+3
View File
@@ -3,6 +3,9 @@ ARG OS_VERSION=22.04
ARG USER_ID=1000
# Define base image.
FROM nvidia/cuda:${CUDA_VERSION}-devel-ubuntu${OS_VERSION}
ARG CUDA_VERSION
ARG OS_VERSION
ARG USER_ID
# metainformation
LABEL org.opencontainers.image.version = "0.1.18"