Last active
September 17, 2015 08:14
-
-
Save niku/6a5642131830614f94c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uname -a | |
cat /etc/debian_version | |
sudo apt-get update && sudo apt-get install -y binfmt-support qemu qemu-user-static debootstrap | |
sudo mkdir -p /srv/chroot | |
cd /srv/chroot | |
sudo debootstrap --foreign --arch=armhf jessie ./armdev1 http://ftp.jp.debian.org/debian | |
sudo cp /usr/bin/qemu-arm-static /srv/chroot/armdev1/usr/bin/ | |
sudo chroot ./armdev1 | |
/debootstrap/debootstrap --second-stage | |
uname -a | |
cat /etc/debian_version | |
apt-get update && apt-get install -y git debootstrap | |
git clone --depth 1 https://github.com/docker/docker.git | |
docker/contrib/mkimage.sh --dir debian-image --tag niku/debian-armhf debootstrap --variant=minbase jessie http://ftp.jp.debian.org/debian |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment