Enhance linting process and add OCI archive generation

Update linting comments and add native re-chunk generation steps.
This commit is contained in:
humocs-man
2026-05-17 18:09:38 +02:00
committed by GitHub
parent 4d2b265511
commit 0c2e2f088c
+11 -2
View File
@@ -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