Background compilation/rpm build with podman

This commit is contained in:
Imbus 2024-06-10 13:16:17 +02:00
parent 368f29324a
commit abac34fa2f

View file

@ -4,4 +4,5 @@
podman build -t solutiontm:latest -f Containerfile || exit 1
# Run it, mount repo as /source and execute "bash build_rpm.sh"
podman run -i -v $(pwd):/source:Z solutiontm:latest bash build_rpm.sh || exit 1
podman run -d -v $(pwd):/source:Z -n rpmbuild solutiontm:latest bash build_rpm.sh || exit 1
echo "Continuing build in background..."