Skip to content

Commit faf738c

Browse files
committed
Set cuda toolkit constraint for container runtime
1 parent d888f38 commit faf738c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/imagesets/oracle8conda/runtime/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@ RUN yum install -y \
4444
# https://github.com/NVIDIA/nvidia-container-runtime#environment-variables-oci-spec
4545
ENV NVIDIA_VISIBLE_DEVICES all
4646
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility
47+
ENV NVIDIA_REQUIRE_CUDA "cuda>=${CUDA_VERSION_MAJOR}.${CUDA_VERSION_MINOR}"

0 commit comments

Comments
 (0)