Skip to content

s10l/docker-raspbian-stretch-minified

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-raspbian-stretch-minified

Raspbian image for Docker on Raspberry Pi. Built and Tested on an Raspberry Pi 2 running raspbian stretch.

Purpose

This is a minimal image of raspbian stretch. You can use this image as a base in Dockerfiles.

Generating

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 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 raspbian-stretch .

Running

This image does not do anything fancy, but if you want to test it out, run the following:

$ docker run --name raspbian -it s10l/raspbian-stretch-minified:latest /bin/bash

Packages

No packages published

Languages

  • Shell 97.8%
  • Dockerfile 2.2%