Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2021-02-27 04:06:16 +03:00
parent 22accf3f20
commit c65a29fc63

View File

@ -7,7 +7,7 @@ pkg_dest=$1
pkg_url=$2 pkg_url=$2
cd /home/docker/dockerfiles/builder cd /home/docker/dockerfiles/builder
docker build -t "$did" --build-arg --force-rm . docker build -t "$did" --force-rm .
docker run --rm -v "/tmp/$did:/buildroot" "$did:latest" /build "$pkg_url" docker run --rm -v "/tmp/$did:/buildroot" "$did:latest" /build "$pkg_url"
artifacts=( "/tmp/$did/"*.pkg.* ) artifacts=( "/tmp/$did/"*.pkg.* )