Skip to content

backport: Add Containerfile.art for ART onboarding - #2503

Closed
shruti-rh wants to merge 2 commits into
quay:release-4.8from
shruti-rh:release-4.8
Closed

backport: Add Containerfile.art for ART onboarding#2503
shruti-rh wants to merge 2 commits into
quay:release-4.8from
shruti-rh:release-4.8

Conversation

@shruti-rh

@shruti-rh shruti-rh commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Adds contrib/art/Containerfile.art for ART onboarding (ART-19361).

Include repository-to-cpe.json and container-name-repos-map.json data
files in contrib/art/ for use during container build.

ADD https:// fails in hermetic as well as open builds as quay-konflux-components is a private repository, hence using COPY with local files instead to enable both hermetic and open builds without external network calls.

@shruti-rh
shruti-rh requested a review from a team as a code owner September 1, 2026 07:48
@shruti-rh
shruti-rh requested review from crozzy and removed request for a team September 1, 2026 07:48
@shruti-rh
shruti-rh force-pushed the release-4.8 branch 8 times, most recently from e437262 to a61dd84 Compare September 1, 2026 13:05
Use cachi2 artifact_lockfile to prefetch data files from public Red Hat
URLs during the cachito phase. This enables hermetic builds by making
files available in /cachi2/output/deps/generic/ before the build starts,
avoiding network calls during container build.

Signed-off-by: Shruti Anekar <sanekar@redhat.com>
@hdonnay

hdonnay commented Sep 1, 2026

Copy link
Copy Markdown
Member

Clair 4.8 is no longer supported, so I don't think this should be merged.

@jbpratt

jbpratt commented Sep 1, 2026

Copy link
Copy Markdown

@hdonnay Quay still uses 4.8 for old versions AFAIK, we need to be able to build from this branch cc @Marcusk19

@hdonnay

hdonnay commented Sep 1, 2026

Copy link
Copy Markdown
Member

That's not the agreement we have with the Quay team. All Quay versions should be on the same (latest) Clair version.

@jbpratt

jbpratt commented Sep 1, 2026

Copy link
Copy Markdown

That's not the agreement we have with the Quay team. All Quay versions should be on the same (latest) Clair version.

I imagine this agreement predates me as I haven't heard of it. Do we have this documented anywhere? There is clear risk for us to bump our EUS versions to latest Clair versions. Our full supported versions are all on latest Clair. 3.15 and older seem to not be

@hdonnay

hdonnay commented Sep 1, 2026

Copy link
Copy Markdown
Member

Do we have this documented anywhere?

I assumed this was in the Quay release documentation somewhere.

Enable hermetic build support by pre-declaring data file artifacts
for cachi2 prefetch. Files (repository-to-cpe.json and
container-name-repos-map.json) will be downloaded during the prefetch
phase and available at /cachi2/output/deps/generic/ for the build.

Signed-off-by: Shruti Anekar <sanekar@redhat.com>
@shruti-rh shruti-rh closed this Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants