Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
strategy:
matrix:
dist:
- ubi8
- ubi9
- packaging
needs: packages
steps:
Expand Down
10 changes: 5 additions & 5 deletions deployments/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
ARG GOLANG_VERSION=x.x.x
ARG VERSION="N/A"

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

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

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

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

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

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

COPY --from=rpmpackages /artifacts/rpm /artifacts/rpm
COPY --from=debpackages /artifacts/deb /artifacts/deb
COPY --from=build /artifacts/bin /artifacts/build

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

ENV NVIDIA_DISABLE_REQUIRE="true"
ENV NVIDIA_VISIBLE_DEVICES=void
Expand Down
2 changes: 1 addition & 1 deletion deployments/container/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ OUT_IMAGE_TAG = $(OUT_IMAGE_VERSION)
OUT_IMAGE = $(OUT_IMAGE_NAME):$(OUT_IMAGE_TAG)

##### Public rules #####
DEFAULT_PUSH_TARGET := ubi8
DEFAULT_PUSH_TARGET := ubi9
DISTRIBUTIONS := $(DEFAULT_PUSH_TARGET)

META_TARGETS := packaging
Expand Down