Commit b50e2050 authored by Markus Frosch's avatar Markus Frosch 📣
Browse files

debootstrap: Forward qemu-arm-static into the container

parent cddefd03
Pipeline #2985 failed with stage
in 3 minutes and 8 seconds
......@@ -14,8 +14,14 @@ if [ -t 1 ] && [ -t 0 ]; then
opts=-t
fi
if [ ! -x /usr/bin/qemu-arm-static ]; then
echo "Missing /usr/bin/qemu-arm-static to forward it inside the next container!" >&2
exit 1
fi
docker run -i $opts --rm \
--privileged \
-e "TARBALL=$TARBALL" \
-v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static:ro \
-v "$(pwd):/work" -w "/work" \
"$IMAGE" "$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment