Skip to content

Commit a1a7acc

Browse files
committed
Add bootc container lint command to image build
Signed-off-by: James Slagle <[email protected]>
1 parent c334471 commit a1a7acc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bootc/Containerfile.centos9

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,7 @@ RUN ln -s /etc/sysconfig/network-scripts/ifdown /usr/sbin/ifdown
6464
# Drop Ansible fact into place
6565
COPY ansible-facts/bootc.fact /etc/ansible/facts.d/bootc.fact
6666
RUN chmod +x /etc/ansible/facts.d/bootc.fact
67+
68+
# This should be the last command
69+
# https://docs.fedoraproject.org/en-US/bootc/building-containers/#_linting
70+
RUN bootc container lint

0 commit comments

Comments
 (0)