Perhaps, docker's mkimage.sh has been enhanced, but I would like to revisit #1 as I have had success using mkimage as follows:
DEBOOTSTRAP=qemu-debootstrap docker/contrib/mkimage.sh \
-d mkimage debootstrap --variant=minbase --components=main \
--include=inetutils-ping,iproute2,wget --arch=armhf jessie
This will automatically use --foreign argument with debootstrap and run the second phase after copying qemu-arm-static to the chroot folder.
Maybe this would help to make the process simpler..
Perhaps, docker's
mkimage.shhas been enhanced, but I would like to revisit #1 as I have had success using mkimage as follows:This will automatically use
--foreignargument withdebootstrapand run the second phase after copyingqemu-arm-staticto the chroot folder.Maybe this would help to make the process simpler..