containerbuildsystem / cachi2

Cachi2 is a CLI tool that pre-fetches your project's dependencies to aid in making your build process network-isolated.
GNU General Public License v3.0
8 stars 26 forks source link

Use UBI9 base image for container build #586

Closed brianwcook closed 2 months ago

brianwcook commented 3 months ago

Change the container build to use UBI9 to support user access to Red Hat entitled content from the subscription service using the subscription manager tool (which wouldn't work with Rocky Linux). Since createrepo_c isn't available from the default RPM repos on UBI, install it from pypi instead. This is tied to the WIP/tech-preview RPM prefetching work.

Maintainers will complete the following section

Note: if the contribution is external (not from an organization member), the CI pipeline will not run automatically. After verifying that the CI is safe to run:

ben-alkov commented 3 months ago

@brianwcook; For your awareness - please address CI failures.

brianwcook commented 3 months ago

I don't see the same build failure locally. I re-ran pip-compile with a clean venv to see if it solves the problem.

brunoapimentel commented 3 months ago

/ok-to-test

brianwcook commented 2 months ago

alright how 'bout now?

brianwcook commented 2 months ago

This LGTM, I only wonder if we should add a note to the commit message that the need to install subscription-manager comes from konflux-ci/build-definitions#1205.

I don't think it will be very clear to people even after #580 comes in.

added your comment and rebased again.