sdhibit / docker-rpi-raspbian

Raspbian image for docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rpi-raspbian

Raspbian image for docker on raspberry pi.

Generating

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.

mkimage-raspbian.sh is used to build and configure the chroot. This script heavily borrows from docker's mkimage.sh script.

Building

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 .

Running

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

About

Raspbian image for docker


Languages

Language:Shell 100.0%