feat: add RHEL 10 (UBI) support for package-manager 2026.05#103
Draft
bschwedler wants to merge 8 commits into
Draft
feat: add RHEL 10 (UBI) support for package-manager 2026.05#103bschwedler wants to merge 8 commits into
bschwedler wants to merge 8 commits into
Conversation
Adds RHEL 10 (amd64 + arm64) to the latest release version (2026.05.0) and both dev streams (preview, daily). Templates and rendered files follow in subsequent commits.
dnf-based equivalent of the Ubuntu install script. Installs the rstudio-pm RPM package from the Posit Pro Cloudsmith repo (already configured by dnf.run_setup() in the Containerfile) and writes the same R/Python config to rstudio-pm.gcfg as the Ubuntu variant.
Mirrors the ubuntu-24.04 structure: python builder stage, dnf setup, package install, Python + R (Standard only), PPM install script, startup.sh. Uses registry.access.redhat.com/ubi10/ubi as base.
The RHEL 10 RPM assigns uid=998/gid=997 to the rstudio-pm user, while the Ubuntu .deb uses uid=999/gid=999. Hard-coding 999 caused three failures in the RHEL 10 Minimal dgoss run. Use goss Go template conditionals on IMAGE_OS_FAMILY at test runtime to select the correct expected values per OS family.
Avoid floating latest tag; 10.2 is the current RHEL 10 minor release, equivalent to the ubuntu:24.04 pin used on Ubuntu Containerfiles.
Equivalent to ubuntu:24.04 floating within the LTS release stream. Add a comment explaining the intent to prevent future "fixing" to a pinned minor version. Reverts 8ba4cab.
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.
Phase 1 of the UBI 10 initiative. Adds Standard and Minimal builds of package-manager 2026.05.0 on
registry.access.redhat.com/ubi10/ubifor both amd64 and arm64.Validates
dnf.j2end-to-end on UBI 10, Posit's RPM repo auto-detection, and the per-OS Containerfile template pattern. Minimal dgoss passes (19/19). Standard dgoss has 3 R failures —R-4.6.0-1-1.x86_64.rpmcarries a hardRequires: flexiblas-develwhich is not in the UBI-redistributable CRB subset.Known limitation: Standard variant R installation blocked pending RPM fix. Tracking issue to be filed separately.