Skip to content

feat: add RHEL 10 (UBI) support for package-manager 2026.05#103

Draft
bschwedler wants to merge 8 commits into
mainfrom
enterprise-linux-ubi10
Draft

feat: add RHEL 10 (UBI) support for package-manager 2026.05#103
bschwedler wants to merge 8 commits into
mainfrom
enterprise-linux-ubi10

Conversation

@bschwedler

Copy link
Copy Markdown
Contributor

Phase 1 of the UBI 10 initiative. Adds Standard and Minimal builds of package-manager 2026.05.0 on registry.access.redhat.com/ubi10/ubi for both amd64 and arm64.

Validates dnf.j2 end-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.rpm carries a hard Requires: flexiblas-devel which is not in the UBI-redistributable CRB subset.

Known limitation: Standard variant R installation blocked pending RPM fix. Tracking issue to be filed separately.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked Blocked on something

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant