Raspbian image for docker on raspberry pi.
This image is built on a raspberry pi running raspbian. A chroot is created using debootstrap and compressed so docker can add the root filesystem during the build process. The compression requires xz-utils (or something similar) to be installed on the build machine.
If you want to build this image yourself, run the following to generate the compressed chroot.
$ rm *.tar.xz $ ./mkimage-raspbian.sh
Get some tacos.
$ docker build -t rpi-raspbian .
This image does not do anything fancy, but if you want to test it out, run the following:
$ docker run --name raspbian -it sdhibit/rpi-raspbian:latest /bin/bash
I got 'docker: Error response from daemon: Container command '/bin/bash' not found or does not exist..'
docker run --name raspbian -it sdhibit/rpi-raspbian:latest /bin/bash