1
0
Fork 0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-06-09 17:46:09 +02:00

Added missing dependencies

This commit is contained in:
Pavel Odintsov 2022-04-29 21:57:34 +01:00
parent adbb70bede
commit 9afb1ea3ef

View File

@ -13,7 +13,7 @@ jobs:
name: Docker with priviledged mode to run chroot inside and we use tail -f to keep container running
command: sudo docker run -d -v /sys/fs/cgroup/:/sys/fs/cgroup:ro -v /data:/data:ro --privileged --cap-add SYS_ADMIN --name linux_priviledged_container debian:bullseye tail -f /dev/null
- run: sudo docker exec -it linux_priviledged_container apt-get update; true
- run: sudo docker exec -it linux_priviledged_container apt install -y dpkg-dev
- run: sudo docker exec -it linux_priviledged_container apt install -y dpkg-dev git pbuilder
- run: sudo docker exec -it linux_priviledged_container git clone https://github.com/pavel-odintsov/fastnetmon
- run: sudo docker exec -it linux_priviledged_container git clone https://salsa.debian.org/debian/fastnetmon.git fastnetmon-debian-salsa
- run: sudo docker exec -it linux_priviledged_container tar -czf fastnetmon_$(head -n 1 fastnetmon-debian-salsa/debian/changelog|awk '{print $2}'|sed 's/[()]//g' | sed -E 's/(\-[0-9]+)?$//').orig.tar.gz fastnetmon