@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
image=${1:-localhost/spark:autobuilder}
|
||||
image=${PODMAN_IMAGE:-localhost/spark:autobuilder}
|
||||
|
||||
podman_cmd=(
|
||||
podman run --rm -u root
|
||||
@@ -9,8 +9,7 @@ podman_cmd=(
|
||||
--workdir /buildroot
|
||||
--name "autobuilder.$$"
|
||||
--env "BUILDUSER=$USER"
|
||||
--entrypoint /build
|
||||
"$image"
|
||||
"$image" /build "$@"
|
||||
)
|
||||
|
||||
"${podman_cmd[@]}"
|
||||
|
Reference in New Issue
Block a user