MLE-29703 MLE-29709: Fix UBI base image updates and libnsl dependency mismatch (2.2.5)#447
Merged
vitalykorolev merged 1 commit intoMay 21, 2026
Conversation
- Update UBI8 base image: 8.10-1771947229 -> 8.10-1778735208 - Update UBI9 base image: 9.7-1771346502 -> 9.7-1778562320 - Fix UBI8 libnsl: bump to el8_10.34, targeted glibc upgrade, cache cleanup - Fix UBI9 libnsl: use --nodeps to bypass glibc el9_8 version pin, targeted glibc upgrade, cache cleanup; add comment explaining rationale - Bump dockerVersion 2.2.4 -> 2.2.5 in Jenkinsfile and keywords.resource
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the UBI8/UBI9 minimal base image tags used by the dependency images, addresses a UBI9 libnsl installation failure caused by a glibc dependency mismatch, and bumps the project Docker image version to 2.2.5 for CI/tests.
Changes:
- Updated UBI8 and UBI9
ubi-minimalbase image tags in the deps Dockerfile templates. - Adjusted
libnslinstall steps: UBI8 updates the pinned RPM and performs a targetedglibcupgrade; UBI9 installslibnslwithrpm -i --nodepsplusglibcupgrade and cache cleanup. - Bumped
dockerVersion/ test resource version references from2.2.4to2.2.5.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
dockerFiles/marklogic-deps-ubi:base |
Updates UBI8 base image tag and refreshes libnsl install flow (glibc upgrade + newer AlmaLinux libnsl RPM). |
dockerFiles/marklogic-deps-ubi9:base |
Updates UBI9 base image tag and modifies libnsl installation to work around glibc pinning (adds --nodeps, glibc upgrade, cleanup, and rationale comment). |
Jenkinsfile |
Updates the default dockerVersion parameter to 2.2.5. |
test/keywords.resource |
Updates default test image tag and MARKLOGIC_DOCKER_VERSION to 2.2.5. |
| # supply verbatim; the symbol ABI is compatible and smoke-tested across all four | ||
| # UBI8/UBI9 x ML11/ML12 build combinations. | ||
| RUN microdnf -y upgrade glibc \ | ||
| && rpm -i --nodeps https://repo.almalinux.org/almalinux/9/BaseOS/x86_64/os/Packages/libnsl-2.34-231.el9_7.10.x86_64.rpm \ |
Comment on lines
+17
to
+19
| RUN microdnf -y upgrade glibc \ | ||
| && rpm -i https://repo.almalinux.org/almalinux/8/BaseOS/x86_64/os/Packages/libnsl-2.28-251.el8_10.34.x86_64.rpm \ | ||
| && microdnf clean all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates UBI8 and UBI9 base image tags to their latest versions and resolves a libnsl RPM installation failure on UBI9. Bumps Docker image version to 2.2.5. Patch release equivalent of PR #446 (targeting develop).
Changes
8.10-1771947229->8.10-17787352089.7-1771346502->9.7-1778562320el8_10.34, targetedmicrodnf -y upgrade glibc, add cache cleanuprpm -i->rpm -i --nodepsto bypass glibc el9_8 version pin; targeted glibc upgrade; cache cleanup; comment explaining rationale2.2.4->2.2.5in Jenkinsfile and test/keywords.resourceRoot cause (UBI9)
After
microdnf -y upgrade glibc, the UBI CDN serves glibc el9_8, which conflicts with the AlmaLinux el9_7 libnsl RPM's strict dependency check. AlmaLinux 9.8 stable is not yet released;--nodepsbypasses the version pin safely (libnsl.so.1 ABI is compatible across all RHEL 9.x).Validation
All four local builds passed (exit code 0):
Develop branch equivalent: #446