Skip to content

Commit

Permalink
Merge pull request #51 from slagle/bootc-container-lint
Browse files Browse the repository at this point in the history
Add bootc container lint command to image build
  • Loading branch information
slagle authored Jan 31, 2025
2 parents 8b7d7b2 + a1a7acc commit 454b7c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bootc/Containerfile.centos9
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,7 @@ RUN ln -s /etc/sysconfig/network-scripts/ifdown /usr/sbin/ifdown
# Drop Ansible fact into place
COPY ansible-facts/bootc.fact /etc/ansible/facts.d/bootc.fact
RUN chmod +x /etc/ansible/facts.d/bootc.fact

# This should be the last command
# https://docs.fedoraproject.org/en-US/bootc/building-containers/#_linting
RUN bootc container lint

0 comments on commit 454b7c8

Please sign in to comment.