Skip to content

Add RHEL10 derivatives (Alma, Oracle, Rocky Linux)#413

Merged
vvoland merged 5 commits intodocker:mainfrom
vvoland:more-distros
Apr 16, 2026
Merged

Add RHEL10 derivatives (Alma, Oracle, Rocky Linux)#413
vvoland merged 5 commits intodocker:mainfrom
vvoland:more-distros

Conversation

@vvoland
Copy link
Copy Markdown
Collaborator

@vvoland vvoland commented Apr 15, 2026

We already build RHEL10 packages so we should also support the derivatives too.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
@vvoland vvoland self-assigned this Apr 15, 2026
@vvoland vvoland requested a review from a team as a code owner April 15, 2026 11:10
@vvoland vvoland marked this pull request as draft April 15, 2026 11:12
@vvoland vvoland changed the title Add RHEL 10 derivative distros (Alma, Oracle, Rocky) Add Alma and Oracle Linux 10 (RHEL10 derivatives) Apr 15, 2026
@thaJeztah
Copy link
Copy Markdown
Member

Do they provide their own images somewhere?

@vvoland
Copy link
Copy Markdown
Collaborator Author

vvoland commented Apr 15, 2026

Hmm looks like they have https://hub.docker.com/r/rockylinux/rockylinux

EDIT: Oh, looks like we're using this one already! I just didn't notice and tried to use the DOI 😅

@thaJeztah
Copy link
Copy Markdown
Member

Oh! There is an official image, just not for 10? That's odd https://hub.docker.com/_/rockylinux

@vvoland
Copy link
Copy Markdown
Collaborator Author

vvoland commented Apr 15, 2026

Yes, the DOI seems to be out of date, but the Rocky Linux official image (the one we actually use here) is ok: https://hub.docker.com/r/rockylinux/rockylinux

vvoland added 4 commits April 15, 2026 13:58
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
The rpmlint package requires dependencies from the CRB (CodeReady
Builder) repository on Alma Linux 10.

Previous installation order was attempting to install rpmlint before the
CRB repository was enabled.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
The rpmlint package requires dependencies from the CRB (CodeReady
Builder) repository on Oracle Linux 10.

Previous installation order was attempting to install rpmlint before the
CRB repository was enabled.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
@vvoland vvoland changed the title Add Alma and Oracle Linux 10 (RHEL10 derivatives) Add RHEL10 derivatives (Alma, Oracle, Rocky Linux) Apr 15, 2026
@vvoland vvoland marked this pull request as ready for review April 15, 2026 12:05
Comment thread hack/scripts/rpm-init.sh
Comment on lines 82 to 84
rhel*)
# skipping rpmlint as it requires dependencies not available in ubi images
dnf install -y git rpm-build dnf-plugins-core
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I just recalled we skipped rpmlint here; do we actually run it anywhere?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Not sure actually. I assumed this was called somewhere implicitly by the RPM build but...

@crazy-max any idea?

Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@vvoland vvoland merged commit d139c9a into docker:main Apr 16, 2026
529 checks passed
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