Enhance linting process and add OCI archive generation
Update linting comments and add native re-chunk generation steps.
This commit is contained in:
+11
-2
@@ -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/* && \
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user