builder/makepkg-podman
fbt 0a31377fcd work with no keep-id
Signed-off-by: fbt <fbt@fleshless.org>
2021-10-06 10:57:26 +03:00

15 lines
253 B
Bash
Executable File

#!/usr/bin/env bash
image=${PODMAN_IMAGE:-localhost/spark:autobuilder}
podman_cmd=(
podman run --rm -it -u root
-v "$PWD:/buildroot"
--workdir /buildroot
--name "autobuilder.$$"
--env "BUILDUSER=$USER"
"$image" /build "$@"
)
"${podman_cmd[@]}"