Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2021-03-01 09:36:38 +03:00
parent 0570c6bf8f
commit 2f3ab1be25

View File

@ -7,7 +7,7 @@ mkdir "/tmp/$did"
pkg_dest=$1 pkg_dest=$1
pkg_url=$2 pkg_url=$2
podman run --rm -v "/tmp/$did:/buildroot" "autobuilder:latest" /build "$pkg_url" podman run --userns=keep-id --rm -v "/tmp/$did:/buildroot" "autobuilder:spark" /build "$pkg_url"
artifacts=( "/tmp/$did/"*.pkg.* ) artifacts=( "/tmp/$did/"*.pkg.* )
for i in "${artifacts[@]}"; do for i in "${artifacts[@]}"; do
@ -24,5 +24,4 @@ for i in "${artifacts[@]}"; do
done done
# cleanup # cleanup
#podman rmi "$did" rm -rf "/tmp/$did"
#rm -rf "/tmp/$did"