feat: add RHEL 10 (UBI) support for package-manager 2026.05 - #103
Draft
bschwedler wants to merge 10 commits into
Draft
feat: add RHEL 10 (UBI) support for package-manager 2026.05#103bschwedler wants to merge 10 commits into
bschwedler wants to merge 10 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.
bschwedler
force-pushed
the
enterprise-linux-ubi10
branch
from
July 16, 2026 20:59
e5ecb97 to
4e2ac4e
Compare
The install_package_manager.rhel10.sh.jinja2 template and its rendered 2026.05 script were committed without the executable bit, tripping the check-shebang-scripts-are-executable pre-commit hook. Sibling OS templates (e.g. install_package_manager.sh.jinja2) carry mode 100755, which bakery propagates to the rendered output on render. Content is unchanged; only the file mode differs.
The devVersions preview and daily streams listed RHEL 10 alongside Ubuntu, which made the Development workflow build RHEL10 images for whatever version is currently the rolling dev/daily/preview build (2026.06.0 and later dev builds), not just the 2026.05.0 release this PR targets. Posit doesn't publish RHEL10 RPMs for those dev builds yet, so the install script's CDN fetch 404s and the build fails. Removing RHEL 10 from both devVersions blocks leaves it scoped to the 2026.05.0 version entry, where the RPM is actually published.
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.