Skip to content

Commit 9399612

Browse files
committed
fix: define docker build args for the stage where they are used
1 parent 37f9a3b commit 9399612

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
ARG OS=ubuntu22.04
44
ARG CUDA_VERSION=12.4.0
5+
6+
FROM nvidia/cuda:${CUDA_VERSION}-devel-${OS} AS base
7+
58
ARG OPTIX_VERSION=7.7.0
69
ARG GEANT4_VERSION=11.3.2
710
ARG CMAKE_VERSION=4.1.2
811

9-
FROM nvidia/cuda:${CUDA_VERSION}-devel-${OS} AS base
10-
1112
ENV DEBIAN_FRONTEND=noninteractive
1213

1314
RUN apt update \

0 commit comments

Comments
 (0)