podman!
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
c65a29fc63
commit
5a6687534c
|
@ -2,13 +2,14 @@
|
|||
shopt -s nullglob
|
||||
|
||||
did="pkg-build-$$.$SRANDOM"
|
||||
mkdir "/tmp/$did"
|
||||
|
||||
pkg_dest=$1
|
||||
pkg_url=$2
|
||||
|
||||
cd /home/docker/dockerfiles/builder
|
||||
docker build -t "$did" --force-rm .
|
||||
docker run --rm -v "/tmp/$did:/buildroot" "$did:latest" /build "$pkg_url"
|
||||
cd /home/containers/builder
|
||||
podman build -t "$did" --force-rm .
|
||||
podman run --rm -v "/tmp/$did:/buildroot" "$did:latest" /build "$pkg_url"
|
||||
|
||||
artifacts=( "/tmp/$did/"*.pkg.* )
|
||||
for i in "${artifacts[@]}"; do
|
Loading…
Reference in New Issue
Block a user