Simplify Containerfile by removing OCI build step

Removed chunked OCI archive build command from Containerfile.
This commit is contained in:
humocs-man
2026-05-17 18:31:26 +02:00
committed by GitHub
parent ef46b99ee8
commit b58dd26948
+1 -9
View File
@@ -68,13 +68,5 @@ COPY scripts/notify-bootc-user.sh /usr/bin/
# Wir räumen zuerst auf, validieren das System via bootc container lint und # Wir räumen zuerst auf, validieren das System via bootc container lint und
# erzeugen im Anschluss direkt im Image das 128-Layer OCI-Archiv. # erzeugen im Anschluss direkt im Image das 128-Layer OCI-Archiv.
RUN rm -rf /tmp/build /root/.cache/dnf/* && \ 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