Skip to content

Commit

Permalink
Pull cuda image from nvcr
Browse files Browse the repository at this point in the history
In the event we are rate-limited or restricted from pulling from DockerHub, this should work around the problem by pulling from Nvidia's site.

Issue runtimes/automation/122
Related eclipse-openj9/openj9#20622

Signed-off-by: Adam Brousseau <[email protected]>
  • Loading branch information
AdamBrousseau committed Dec 12, 2024
1 parent 6934ed3 commit 30e8daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/build/dockerFiles/cuda.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG image
ARG cuda_ver=12.2.0
ARG cuda_distro=ubi8

FROM nvidia/cuda:${cuda_ver}-devel-${cuda_distro} as cuda
FROM nvcr.io/nvidia/cuda:${cuda_ver}-devel-${cuda_distro} as cuda
FROM $image

# Install cuda headers https://github.com/eclipse/openj9/blob/master/buildenv/docker/mkdocker.sh#L586-L593
Expand Down

0 comments on commit 30e8daa

Please sign in to comment.