Skip to content

Commit

Permalink
Pull cuda image from NVCR and change to ubi8 base (#1147)
Browse files Browse the repository at this point in the history
* Switch to ubi8 base cuda image

The ubuntu image does not support ppc64le arch. We are now building (Semeru)
on ppc64le in the cent7 container and require the cuda libs.

Related ibmruntimes#228

Signed-off-by: Adam Brousseau <[email protected]>

* Pull cuda image from nvcr Nvidia

Sometimes pulls fail because DockerHub is rate limited. We are
also facing pull restrictions from DockerHub for Semeru.

Related eclipse-openj9/openj9#20622

Signed-off-by: Adam Brousseau <[email protected]>

---------

Signed-off-by: Adam Brousseau <[email protected]>
  • Loading branch information
AdamBrousseau authored Nov 21, 2024
1 parent 5bd79eb commit 2fd5c30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipelines/build/dockerFiles/cuda.dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG image
ARG cuda_ver=12.2.0
ARG cuda_distro=ubuntu20.04
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 2fd5c30

Please sign in to comment.