Skip to content

MLE-29711: Upgrade Docker UBI9 base image from 9.7 to 9.8 - #473

Open
vitalykorolev wants to merge 2 commits into
developfrom
MLE-29711_upgrade-ubi-base-images
Open

MLE-29711: Upgrade Docker UBI9 base image from 9.7 to 9.8#473
vitalykorolev wants to merge 2 commits into
developfrom
MLE-29711_upgrade-ubi-base-images

Conversation

@vitalykorolev

Copy link
Copy Markdown
Collaborator

Summary

Upgrade the UBI9 base image from 9.7 to 9.8 (and UBI8 base image to latest stable 8.10) across Dockerfiles and build definitions to incorporate the latest upstream security updates and package fixes.

Root cause

The base UBI9 and UBI8 image versions needed an upgrade to maintain support and include recent security patches and compatible libnsl packages.

Fix

  • Updated UBI9 minimal base image to 9.8-1786987521 (x86_64 and arm64).
  • Updated UBI8 minimal base image to 8.10-1787081751 (x86_64).
  • Switched to Rocky Linux libnsl package URLs without --nodeps for clean dependency resolution.

Validation

  • make lint: PASS (0 issues on all modified files)
  • Docker builds for UBI8 and UBI9 minimal dependency images (x86_64 and arm64): PASS
  • Downstream MarkLogic server builds: PASS (verified manually)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Upgrades the pinned Red Hat UBI minimal base images used by the MarkLogic dependency images (UBI9 and UBI8) and updates the pinned libnsl RPM sources/versions to match the newer OS patch levels.

Changes:

  • Bump UBI9 minimal base image pin from 9.7 to 9.8 for both x86_64 and arm64 dependency images.
  • Bump UBI8 minimal base image pin to the latest stable 8.10 build.
  • Update pinned libnsl RPM URLs/versions to Rocky Linux builds and remove --nodeps.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
dockerFiles/marklogic-deps-ubi9:base Updates UBI9 base image pin and switches libnsl RPM to Rocky 9.8 (x86_64).
dockerFiles/marklogic-deps-ubi9-arm:base Updates UBI9 base image pin and updates libnsl RPM to Rocky 9.8 (aarch64) without --nodeps.
dockerFiles/marklogic-deps-ubi:base Updates UBI8 base image pin and switches libnsl RPM to Rocky 8.10 without --nodeps.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread dockerFiles/marklogic-deps-ubi9:base Outdated
Comment thread dockerFiles/marklogic-deps-ubi9:base
Comment thread dockerFiles/marklogic-deps-ubi9-arm:base
Comment thread dockerFiles/marklogic-deps-ubi:base

@rwinieski rwinieski 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.

@vitalykorolev changes look good to me but it seems some docker tests failed.
Please have a look before merging

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.

4 participants