makefile: implement make lint

This commit is contained in:
Florian Schüller 2024-06-25 12:17:11 +02:00 committed by Florian Schüller
parent 786f44e7e7
commit c36367d4cc
5 changed files with 48 additions and 18 deletions

17
tools/apt-install-deps.sh Executable file
View file

@ -0,0 +1,17 @@
#!/usr/bin/env bash
# just a warning - as "sudo" is not in the container we are using
echo "This script should be run as root"
apt-get update
# This is needed to lint internal/upload/koji package
apt-get install -y libkrb5-dev
# This is needed for the container upload dependencies
apt-get install -y libgpgme-dev
# This is needed for the 'github.com/containers/storage' package
apt-get install -y libbtrfs-dev
apt-get install -y libdevmapper-dev