Skip to content

Commit

Permalink
Make PYTHON_VERSION build arg
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Dec 8, 2024
1 parent d335693 commit fbb178a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion containers/dockerfile/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ARG RAPIDS_VERSION
ARG NCCL_VERSION
ARG RAPIDSAI_CONDA_CHANNEL="rapidsai"
ARG MINIFORGE_VERSION=24.9.2-0
ARG PYTHON_VERSION=3.10

SHELL ["/bin/bash", "-c"]

Expand All @@ -29,7 +30,7 @@ RUN \
export NCCL_SHORT_VER=$(echo "$NCCL_VERSION" | cut -d "-" -f 1) && \
export CUDA_SHORT_VER=$(echo "$CUDA_VERSION" | grep -o -E '[0-9]+\.[0-9]') && \
mamba create -y -n gpu_test -c ${RAPIDSAI_CONDA_CHANNEL} -c conda-forge -c nvidia \
python=3.10 "cudf=$RAPIDS_VERSION.*" "rmm=$RAPIDS_VERSION.*" cuda-version=$CUDA_SHORT_VER \
python=$PYTHON_VERSION "cudf=$RAPIDS_VERSION.*" "rmm=$RAPIDS_VERSION.*" cuda-version=$CUDA_SHORT_VER \
"nccl>=${NCCL_SHORT_VER}" \
"dask<=2024.10.0" \
"distributed<=2024.10.0" \
Expand Down

0 comments on commit fbb178a

Please sign in to comment.