Skip to content

Commit 454b7c8

Browse files
authored
Merge pull request #51 from slagle/bootc-container-lint
Add bootc container lint command to image build
2 parents 8b7d7b2 + a1a7acc commit 454b7c8

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)