Skip to content

Commit

Permalink
Bug fix in dockerfile ARG vs ENV var (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
praateekmahajan authored Dec 23, 2024
1 parent c929203 commit 35b5993
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ FROM rapidsai/ci-conda:cuda${CUDA_VER}-${LINUX_VER}-py${PYTHON_VER}
LABEL "nemo.library"=${IMAGE_LABEL}
WORKDIR /opt

# Re-declare ARGs after new FROM to make them available in this stage
ARG CUDA_VER

# Install the minimal libcu* libraries needed by NeMo Curator
ENV _CUDA_VER=${CUDA_VER}
RUN conda create -y --name curator -c nvidia/label/cuda-${_CUDA_VER} -c conda-forge \
RUN conda create -y --name curator -c nvidia/label/cuda-${CUDA_VER} -c conda-forge \
python=3.10 \
cuda-cudart \
libcufft \
Expand Down

0 comments on commit 35b5993

Please sign in to comment.