Simplify Containerfile by removing OCI build step
Removed chunked OCI archive build command from Containerfile.
This commit is contained in:
+1
-9
@@ -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
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user