Skip to content

MLE-29703 MLE-29709: Fix UBI base image updates and libnsl dependency mismatch#446

Merged
vitalykorolev merged 2 commits into
developfrom
MLE-29703-MLE-29709-fix-ubi-base-images
May 21, 2026
Merged

MLE-29703 MLE-29709: Fix UBI base image updates and libnsl dependency mismatch#446
vitalykorolev merged 2 commits into
developfrom
MLE-29703-MLE-29709-fix-ubi-base-images

Conversation

@vitalykorolev
Copy link
Copy Markdown
Collaborator

Summary

Updates UBI8 and UBI9 base image tags to their latest versions and resolves a libnsl RPM installation failure on UBI9 caused by a glibc version mismatch introduced by the new base image. Also bumps the Docker image version from 2.2.4 to 2.2.5 across the Jenkinsfile and test resource file.

Root cause

The updated UBI9 base image ships a newer glibc that conflicts with the libnsl RPM's strict dependency check, causing rpm -i to abort on UBI9 builds.

Fix

Changed rpm -i to rpm -i --nodeps for the libnsl install step in the UBI9 deps Dockerfile, and updated both UBI8 and UBI9 base image tags to the latest digests.

Validation

All four local build + smoke-test combinations passed (exit code 0):

  • UBI8 + ML12: PASS
  • UBI8 + ML11: PASS
  • UBI9 + ML12: PASS (libnsl --nodeps fix confirmed working)
  • UBI9 + ML11: PASS

- Update UBI8 base image: 8.10-1775152441 -> 8.10-1778735208
- Update UBI9 base image: 9.7-1775623882 -> 9.7-1778562320
- Fix UBI8 libnsl: bump to el8_10.34 (matches updated glibc)
- Fix UBI9 libnsl: use --nodeps to bypass glibc el9_8 version pin
  (UBI CDN serves glibc el9_8 after microdnf update; AlmaLinux 9.8 stable
  not yet released; libnsl.so.1 ABI compatible across all RHEL 9.x)
- Bump dockerVersion 2.2.4 -> 2.2.5 in Jenkinsfile and keywords.resource
Copilot AI review requested due to automatic review settings May 21, 2026 00:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the UBI8/UBI9 dependency base images used by the MarkLogic Docker build, bumps the Docker image version to 2.2.5 for CI/tests, and adjusts the UBI9 deps image’s libnsl installation to work with the newer glibc shipped in the updated UBI9 base.

Changes:

  • Bump the default Docker image version from 2.2.42.2.5 in Jenkins and Robot test resources.
  • Update UBI8/UBI9 ubi-minimal base image tags in deps Dockerfiles.
  • Change UBI9 libnsl RPM install to use rpm -i --nodeps to bypass the glibc dependency mismatch.

Reviewed changes

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

File Description
test/keywords.resource Updates default test image tag and ${MARKLOGIC_DOCKER_VERSION} to 2.2.5.
Jenkinsfile Updates the dockerVersion parameter default to 2.2.5.
dockerFiles/marklogic-deps-ubi9:base Updates UBI9 base tag and alters libnsl install behavior (now --nodeps).
dockerFiles/marklogic-deps-ubi:base Updates UBI8 base tag.

Comment thread dockerFiles/marklogic-deps-ubi9:base Outdated
Comment thread dockerFiles/marklogic-deps-ubi9:base Outdated
Comment thread dockerFiles/marklogic-deps-ubi9:base
Comment thread dockerFiles/marklogic-deps-ubi:base
… in UBI9 deps

- Replace broad microdnf -y update with targeted microdnf -y upgrade glibc
- Add microdnf clean all in same RUN layer to reduce image layer size
- Add comment explaining why --nodeps is required and safe for libnsl install
@vitalykorolev vitalykorolev merged commit f74fdcb into develop May 21, 2026
3 of 5 checks passed
@vitalykorolev vitalykorolev deleted the MLE-29703-MLE-29709-fix-ubi-base-images branch May 21, 2026 20:21
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