mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 15:45:53 +01:00
cli: add container lint
Add an entrypoint that basically everyone can start adding to their builds which performs some basic static analysis for known problems. Closes : #216 Co-authored-by: Joseph Marrero <jmarrero@redhat.com> Co-authored-by: Huijing Hei <hhei@redhat.com> Co-authored-by: Yasmin de Souza <ydesouza@redhat.com> Signed-off-by: Steven Presti <spresti@redhat.com> Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
committed by
Colin Walters
parent
94ddb2f372
commit
858acbe5dd
@@ -16,3 +16,4 @@ FROM $base
|
||||
COPY --from=build /out/bootc.tar.zst /tmp
|
||||
COPY --from=build /build/target/dev-rootfs/ /
|
||||
RUN tar -C / --zstd -xvf /tmp/bootc.tar.zst && rm -vf /tmp/*
|
||||
RUN bootc container lint
|
||||
|
||||
Reference in New Issue
Block a user