Podman rpm build convenience script
This commit is contained in:
parent
75a1bd2f3d
commit
a97604e18e
1 changed files with 7 additions and 0 deletions
7
build_podman.sh
Executable file
7
build_podman.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/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
|
Loading…
Reference in a new issue