Skip to content

Commit aafe4d7

Browse files
committed
Switch to cuda ubi9 base image
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 1f7c7ff commit aafe4d7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
strategy:
8181
matrix:
8282
dist:
83-
- ubi8
83+
- ubi9
8484
- packaging
8585
needs: packages
8686
steps:

deployments/container/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
ARG GOLANG_VERSION=x.x.x
1717
ARG VERSION="N/A"
1818

19-
FROM nvcr.io/nvidia/cuda:12.9.0-base-ubi8 AS build
19+
FROM nvcr.io/nvidia/cuda:12.9.0-base-ubi9 AS build
2020

2121
RUN dnf install -y \
2222
wget make git gcc \
@@ -50,7 +50,7 @@ RUN make PREFIX=/artifacts/bin cmd-nvidia-ctk-installer
5050

5151
# The packaging stage collects the deb and rpm packages built for supported
5252
# architectures.
53-
FROM nvcr.io/nvidia/cuda:12.9.0-base-ubi8 AS packaging
53+
FROM nvcr.io/nvidia/cuda:12.9.0-base-ubi9 AS packaging
5454

5555
ARG ARTIFACTS_ROOT
5656
COPY ${ARTIFACTS_ROOT} /artifacts/packages/
@@ -92,7 +92,7 @@ RUN set -eux; \
9292
for p in $(ls /deb-packages/${ARCH}/*.deb); do dpkg-deb -xv $p /artifacts/deb/; done
9393

9494
# The rpmpackages stage is used to extract the contents of the rpm packages.
95-
FROM nvcr.io/nvidia/cuda:12.9.0-base-ubi8 AS rpmpackages
95+
FROM nvcr.io/nvidia/cuda:12.9.0-base-ubi9 AS rpmpackages
9696
RUN dnf install -y cpio
9797

9898
ARG TARGETARCH
@@ -116,13 +116,13 @@ RUN set -eux; \
116116
# - The extracted deb packages
117117
# - The extracted rpm packages
118118
# - The nvidia-ctk-installer binary
119-
FROM nvcr.io/nvidia/cuda:12.9.0-base-ubi8 AS artifacts
119+
FROM nvcr.io/nvidia/cuda:12.9.0-base-ubi9 AS artifacts
120120

121121
COPY --from=rpmpackages /artifacts/rpm /artifacts/rpm
122122
COPY --from=debpackages /artifacts/deb /artifacts/deb
123123
COPY --from=build /artifacts/bin /artifacts/build
124124

125-
FROM nvcr.io/nvidia/cuda:12.9.0-base-ubi8
125+
FROM nvcr.io/nvidia/cuda:12.9.0-base-ubi9
126126

127127
ENV NVIDIA_DISABLE_REQUIRE="true"
128128
ENV NVIDIA_VISIBLE_DEVICES=void

deployments/container/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ OUT_IMAGE_TAG = $(OUT_IMAGE_VERSION)
3838
OUT_IMAGE = $(OUT_IMAGE_NAME):$(OUT_IMAGE_TAG)
3939

4040
##### Public rules #####
41-
DEFAULT_PUSH_TARGET := ubi8
41+
DEFAULT_PUSH_TARGET := ubi9
4242
DISTRIBUTIONS := $(DEFAULT_PUSH_TARGET)
4343

4444
META_TARGETS := packaging

0 commit comments

Comments
 (0)