From 0c2e2f088cedb19ef61c21a148f288f41a52ffab Mon Sep 17 00:00:00 2001 From: humocs-man <251756307+humocs-man@users.noreply.github.com> Date: Sun, 17 May 2026 18:09:38 +0200 Subject: [PATCH] Enhance linting process and add OCI archive generation Update linting comments and add native re-chunk generation steps. --- Containerfile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 0685634..f807ddb 100644 --- a/Containerfile +++ b/Containerfile @@ -63,9 +63,18 @@ COPY scripts/notify-bootc-user.sh /usr/bin/ ############################################################################### -# LINTING +# LINTING & NATIVE RE-CHUNK GENERATION ############################################################################### +# Wir räumen zuerst auf, validieren das System via bootc container lint und +# erzeugen im Anschluss direkt im Image das 128-Layer OCI-Archiv. RUN rm -rf /tmp/build /root/.cache/dnf/* && \ - bootc container lint + bootc container lint && \ + mkdir -p /var/tmp/chunked-output && \ + rpm-ostree compose build-chunked-oci \ + --bootc \ + --format-version=2 \ + --max-layers 128 \ + --from=client \ + --output=oci-archive:/var/tmp/chunked-output/image.ociarchive