Skip to content
Repo for baking the RPi image
Shell Dockerfile sed
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
export-image
export-noobs
scripts
stage0
stage1
stage2
stage3
stage4
.dockerignore
.gitignore
.travis.yml
Dockerfile
LICENSE
README.md
build-docker.sh
build.sh
config
depends
docker-compose.yml

README.md

BakeRPi

Tool used to create the RPi image for Revvy

Usage

Simply set the image name, and run the Docker builder:

$ echo "IMG_NAME=revvy" > config
$ ./build-docker.sh 

The revvy image will be in the deploy folder.

Known issues

Execution sometimes failes during the export phase, as losetup is failing in the background. In this case, you should simply rerun the command, in the following way:

$ CONTINUE=1 ./build-docker.sh

This will just retry the process, while skipping the already completed operations of the first few stages.

Roots

This tool is based on https://github.com/RPi-Distro/pi-gen. We basically removed anything after stage2 (lite version of Raspbian).

For details about the configuration parameters, or what the original steps do, please consult the pi-gen repo.

You can’t perform that action at this time.