forked from Spark/builder
oop
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
22accf3f20
commit
c65a29fc63
|
@ -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.* )
|
||||||
|
|
Loading…
Reference in New Issue
Block a user