Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHEL support for openresty #248

Open
computinglife opened this issue Mar 25, 2024 · 2 comments
Open

RHEL support for openresty #248

computinglife opened this issue Mar 25, 2024 · 2 comments

Comments

@computinglife
Copy link

Hi,

Are there any images which can be used to target RHEL ? I am assuming the latest centos 8 image cannot be used to do that since centos starting from 8.0 is no longer a downstream build of RHEL ? Or is that a non issue from a container perspective ?

I am open to contributing code to make this happen if there is anything that needs to be done. But there have been reports of docker not being supported by redhat..

I am not sure how then the centos image exists here..please do let me know

@neomantra
Copy link
Member

Check out this issue for more history / context. This page has a list of the available upstream packages.

I'm not a RHEL user (nor really an OpenResty user anymore), so the diaspora of that distribution became confusing to me. If there's a set of RHEL images that can be built openly on Travis, meaning no RHEL commercial license is needed, then we can support it here.

If you look at the travis.yml file, it's pretty easy to tweak the upstream builds to expose more distros. Sometimes Dockerfile tweaks are needed, but that's OK too.

I'm happy to include any changes that support this.

@computinglife
Copy link
Author

Thanks for responding and your gracious offer to help.

To start, I think the problem is a bit more complicated than the rocky support added in the reported issue. The issue wrt RHEL + rocky are these

  1. RHEL has stopped docker support apparently - podman is the way to go.

  2. Once CentOS died, many alternatives propped up. Rocky is one of them. Rocky is compatible with RHEL - but this flavour is avoided by many including, big coporations because it is predicted to end up in the same condition as CentOS (started by the same person who ran CentOS)

So Alma (being a community initiative) is more favoured & is binary compatible with RHEL and is the other CentOS replacement in the market.

So i guess if we can get Travis to build podman containers with Alma, you will be able to support RHEL / rocky / Alma in one go and also get away from the licensing issues wrt RHEL.

RHEL anyway offers 20 or so licenses with developer subscription in case you should want one. That prompts a doubt - how does docket-openresty test these images that are build ?

Please let me know if i can help in anyway - I do not have experience with Travis or podman (yet) but plan to get there at-least wrt podman since we have to support RHEL / Alma.

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

No branches or pull requests

2 participants