Skip to content

Add rocky10 support#135

Draft
rasmunk wants to merge 1 commit intomasterfrom
add/rocky10
Draft

Add rocky10 support#135
rasmunk wants to merge 1 commit intomasterfrom
add/rocky10

Conversation

@rasmunk
Copy link
Contributor

@rasmunk rasmunk commented Oct 31, 2025

Start of supporting and releasing rocky10 versions of docker-migrid

@rasmunk rasmunk changed the title Add initial rocky10 buildfile Add rocky10 support Oct 31, 2025
@rasmunk rasmunk marked this pull request as draft October 31, 2025 09:09
@jonasbardino jonasbardino added this to the Rocky10 Deployments milestone Jan 2, 2026
RUN if [ "$UPGRADE_MOD_AUTH_OPENIDC" = "True" ]; then \
if [ -z "${UPGRADE_OIDC_AUTH_MOD_SRC}" ]; then \
echo "upgrading mod_auth_openidc from upstream release package"; \
UPGRADE_OIDC_AUTH_MOD_SRC="https://github.com/OpenIDC/mod_auth_openidc/releases/download/v2.4.16.11/mod_auth_openidc-2.4.16.11-1.el9.x86_64.rpm"; \
Copy link
Contributor

Choose a reason for hiding this comment

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

This section will most definitely need to be updated to el10 package versions. Please refer to #138 for further hints about openidc and cjose versions supporting RHEL/Rocky 10.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change as with any further el10 required changes can already be introduced into the add/rocky10 branch, then we could continuously merge, prepare, and test the necessary code there before we merge it into the master branch


# Adjust paramiko to reduce log noise from scans if matching patch is available
RUN cd $MIG_ROOT/mig/src/paramiko \
&& if [ -e Makefile ]; then make patch PLATFORM=el9 ; fi
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this will need to use el10 here as well with a matching patch added in that mig/src/paramiko folder of the migrid repo.

Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like Rocky10 uses a more recent but still different paramiko 3.5 by default:
https://rhel.pkgs.org/10/epel-aarch64/python3-paramiko-3.5.0-1.el10_0.noarch.rpm.html
so it probably needs a dedicated patch in migrid mig/src/paramiko/ at least to handle the UPGRADE_PARAMIKO=False case. The existing one for 4.0 on el9 may just work if symlinked to el10.

Copy link
Contributor

@jonasbardino jonasbardino left a comment

Choose a reason for hiding this comment

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

I added a couple of comments about things to address, in addition to the existing build failures.

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.

2 participants