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