7 lines
266 B
Bash
7 lines
266 B
Bash
![]() |
#!/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"
|
||
|
podman run -i -v $(pwd):/source:Z solutiontm:latest bash build_rpm.sh || exit 1
|