18 lines
243 B
Bash
Executable file
18 lines
243 B
Bash
Executable file
|
|
. ./setarch.sh
|
|
|
|
pf=linux/$arch
|
|
img=autofw-$arch
|
|
|
|
export DOCKER_BUILDKIT=1
|
|
|
|
docker build \
|
|
--platform $pf \
|
|
-t $img \
|
|
.
|
|
|
|
mkdir -p bin
|
|
docker run --platform $pf -v $PWD/bin:/opt/mount --rm $img cp bin/autofw /opt/mount/autofw-$arch
|
|
|
|
exit 0
|
|
|