Skip to content

Commit 35b5993

Browse files
Bug fix in dockerfile ARG vs ENV var (#446)
1 parent c929203 commit 35b5993

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ FROM rapidsai/ci-conda:cuda${CUDA_VER}-${LINUX_VER}-py${PYTHON_VER}
2828
LABEL "nemo.library"=${IMAGE_LABEL}
2929
WORKDIR /opt
3030

31+
# Re-declare ARGs after new FROM to make them available in this stage
32+
ARG CUDA_VER
33+
3134
# Install the minimal libcu* libraries needed by NeMo Curator
32-
ENV _CUDA_VER=${CUDA_VER}
33-
RUN conda create -y --name curator -c nvidia/label/cuda-${_CUDA_VER} -c conda-forge \
35+
RUN conda create -y --name curator -c nvidia/label/cuda-${CUDA_VER} -c conda-forge \
3436
python=3.10 \
3537
cuda-cudart \
3638
libcufft \

0 commit comments

Comments
 (0)