Skip to content

Docker container to build images for Raspberry PI

License

Notifications You must be signed in to change notification settings

FrangaL/images-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Image Size (latest by date)

Docker container to build images

Download container image

docker pull frangal/rpi-images-builder:latest

Build container image

git clone https://github.com/FrangaL/images-builder.git

cd images-builder

docker-compose --compatibility up -d --build

Run container

# docker-composer
wget https://git.io/rpi-images-builder.yml
docker-compose -f rpi-images-builder.yml --compatibility up -d

# docker run
docker run --privileged -it -v /dev:/dev -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
  --name rpi-images -h rpi-images --cap-add SYS_ADMIN \
  --tmpfs /tmp --tmpfs /run --tmpfs /run/lock frangal/rpi-images-builder:latest

Create Raspberry PI image

docker exec -it rpi-images git pull

docker exec -it rpi-images bash -c "COMPRESS=xz ./rpi-img-builder.sh"

docker exec -it rpi-images sh -c "ls *.img.xz"

docker cp rpi-images:/images/debian-buster-lite-arm64.img.xz .

Releases

No releases published

Packages

No packages published