Background compilation/rpm build with podman
This commit is contained in:
parent
368f29324a
commit
abac34fa2f
1 changed files with 2 additions and 1 deletions
|
@ -4,4 +4,5 @@
|
||||||
podman build -t solutiontm:latest -f Containerfile || exit 1
|
podman build -t solutiontm:latest -f Containerfile || exit 1
|
||||||
|
|
||||||
# Run it, mount repo as /source and execute "bash build_rpm.sh"
|
# 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..."
|
||||||
|
|
Loading…
Reference in a new issue