2024-06-10 12:08:58 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# First we build the 'Containerfile' for podman
|
|
|
|
podman build -t solutiontm:latest -f Containerfile || exit 1
|
|
|
|
|
|
|
|
# Run it, mount repo as /source and execute "bash build_rpm.sh"
|
2024-06-10 13:16:17 +02:00
|
|
|
podman run -d -v $(pwd):/source:Z -n rpmbuild solutiontm:latest bash build_rpm.sh || exit 1
|
|
|
|
echo "Continuing build in background..."
|