From a97604e18e16764b12517c23ff3e5541730db476 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Mon, 10 Jun 2024 12:08:58 +0200 Subject: [PATCH] Podman rpm build convenience script --- build_podman.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 build_podman.sh diff --git a/build_podman.sh b/build_podman.sh new file mode 100755 index 0000000..eed885d --- /dev/null +++ b/build_podman.sh @@ -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 \ No newline at end of file