Skip to content

Commit 3fc310a

Browse files
committed
Set CUDA_VERSION in conda Docker environment
1 parent 3776829 commit 3fc310a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

conda/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ ARG CUDA_VERSION=10.2
4747
RUN rm -rf /usr/local/cuda-*
4848
ADD ./common/install_cuda.sh install_cuda.sh
4949
ENV CUDA_HOME=/usr/local/cuda-${CUDA_VERSION}
50+
# Preserve CUDA_VERSION for the builds
51+
ENV CUDA_VERSION=${CUDA_VERSION}
5052
# Make things in our path by default
5153
ENV PATH=/usr/local/cuda-${CUDA_VERSION}/bin:$PATH
5254

0 commit comments

Comments
 (0)