Skip to content

[CP 1583] fix(security): bump UBI9 base image from 9.7 to 9.8#596

Merged
spraveenio merged 2 commits into
ROCm:mainfrom
ci-penbot-01:CP.O2O.pensando.gpu-operator.1583.rocm.gpu-operator.main
Jul 8, 2026
Merged

[CP 1583] fix(security): bump UBI9 base image from 9.7 to 9.8#596
spraveenio merged 2 commits into
ROCm:mainfrom
ci-penbot-01:CP.O2O.pensando.gpu-operator.1583.rocm.gpu-operator.main

Conversation

@ci-penbot-01

Copy link
Copy Markdown
Contributor

cp of pensando/gpu-operator#1583


Source PR Description (pensando/gpu-operator#1583):

Summary

  • Bumps all ubi9/ubi-minimal base image references from 9.7 to 9.8 (latest stable as of 2026-07-06, confirmed via skopeo inspect)
  • Also pins three KMM CoreOS template Dockerfiles that were previously untagged (floating to implicit latest), improving build reproducibility

Files changed

File Before After
Dockerfile 9.7 9.8
internal/utils_container/Dockerfile 9.7 9.8
internal/remediation_config_utils_container/Dockerfile 9.7 9.8
internal-example/driverSrcImage/Dockerfile.coreos :latest 9.8
internal/kmmmodule/dockerfiles/DockerfileTemplate.rpm.coreos untagged 9.8
internal/kmmmodule/dockerfiles/DockerfileTemplate.srcimg.coreos untagged 9.8
internal/kmmmodule/dockerfiles/DockerfileTemplate.coreos.gim untagged 9.8

Test plan

  • CI image builds pass against UBI9 9.8
  • No behavioral regressions (9.8 is a backward-compatible minor update within RHEL 9)

Plan: docs-internal/knowledge/plans/2026-07-06-ubi9-update.md

🤖 Generated with Claude Code

Cherrypick triggered by: ACP-Automation

* fix(security): bump UBI9 base image from 9.7 to 9.8 across all Dockerfiles

Update all UBI9 minimal base image references to the latest stable release
(9.8, confirmed via skopeo inspect on registry.access.redhat.com). Also pins
previously untagged/floating references in KMM CoreOS template Dockerfiles
for reproducible builds.

Files updated:
- Dockerfile (operator controller): 9.7 -> 9.8
- internal/utils_container/Dockerfile: 9.7 -> 9.8
- internal/remediation_config_utils_container/Dockerfile: 9.7 -> 9.8
- internal-example/driverSrcImage/Dockerfile.coreos: :latest -> 9.8
- internal/kmmmodule/dockerfiles/DockerfileTemplate.{rpm,srcimg}.coreos: untagged -> 9.8
- internal/kmmmodule/dockerfiles/DockerfileTemplate.coreos.gim: untagged -> 9.8

Co-Authored-By: Claude <noreply@anthropic.com>

* docs: add plan file for UBI9 9.8 base image bump

Plan: docs-internal/knowledge/plans/2026-07-06-ubi9-update.md

Co-Authored-By: Claude <noreply@anthropic.com>

* fix(security): bump Makefile OPERATOR_CONTROLLER_BASE_IMAGE to UBI9 9.8

Makefile was passing ubi-minimal:9.7 as build-arg to docker build,
overriding the Dockerfile ARG default. Update to 9.8 to keep the
build-arg consistent with the Dockerfile change.

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Praveen Kumar Shanmugam <58961022+spraveenio@users.noreply.github.com>
(cherry picked from commit 7939ce0a8f44408e679ae3ec91aa8cdece15bd66)
@ci-penbot-01

Copy link
Copy Markdown
Contributor Author

AI-Assisted Cherry-Pick

Source PR: #1583
Target Branch: main

The cherry-pick operation encountered merge conflicts which were resolved automatically using AI assistance.

Files with conflicts (resolved by AI):

  • internal-example/driverSrcImage/Dockerfile.coreos:N/A (delete/modify conflict)
  • internal/remediation_config_utils_container/Dockerfile:N/A (delete/modify conflict)
Original conflict in internal-example/driverSrcImage/Dockerfile.coreos
<<<<<<< HEAD
(file deleted)
=======
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.8
(file modified: :latest -> 9.8)
>>>>>>> 7939ce0a (fix(security): bump UBI9 base image from 9.7 to 9.8)
Original conflict in internal/remediation_config_utils_container/Dockerfile
<<<<<<< HEAD
(file deleted)
=======
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.8
(file modified: 9.7 -> 9.8)
>>>>>>> 7939ce0a (fix(security): bump UBI9 base image from 9.7 to 9.8)

Cherry-pick triggered by: ACP-Automation

@spraveenio spraveenio left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@spraveenio spraveenio merged commit dece8e9 into ROCm:main Jul 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants