Skip to content
This repository has been archived by the owner on Apr 25, 2021. It is now read-only.

sdhibit/docker-rpi-raspbian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages