heh
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
0570c6bf8f
commit
2f3ab1be25
|
@ -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"
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user