builder/makepkg-podman
fbt d42669565c universalize!
Signed-off-by: fbt <fbt@fleshless.org>
2021-03-06 07:06:47 +03:00

16 lines
267 B
Bash
Executable File

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