{"repo":"raspi-alpine/builder","free":true,"listed":false,"github":"https://github.com/raspi-alpine/builder","clone":"git clone https://github.com/raspi-alpine/builder.git","description":"Mirror of Raspberry PI Alpine Linux Image Builder","language":"Shell","stars":59,"topics":["raspberry-pi","alpine","image-builder","golang"],"license":"Apache-2.0","category":"self-hosted-apps","readme_excerpt":"Raspberry PI Alpine Linux Image Builder Create minimal Linux images based on Alpine Linux for the Raspberry PI. Important Changes 04/02/25 From alpine 3.19 the kernel names have changed so a full image must be used to upgrade as the u-boot script has changed because of this. The default arch is now aarch64 and default RPI FIRMWARE BRANCH is now alpine. Features Alpine base Small image size Fast image build A/B partition schema Simple update of whole system Fallback if update failed Choice of three base image cpu types for targeting every Raspberry PI Read only root filesystem, with optional overlay mounted /etc Optional caching during build Boot from SD Card or USB (PI2B to PI4) Build is seperated into stages that can be overridden, or use custom stages/order Usage Note: If you want to build the image on a different architecture then the destination, you can use qemu-user-static: docker run --privileged --rm multiarch/qemu-user-static --persistent yes (this is already installed if using docker desktop) Image Creation A simple example for a go application can be found in the examples/go directory, there is also a node-red one in examples/node-red To generate an empty image simply run: This will create 2 image files in the directory $PWD/output/ : sdcard.img.gz : complete SD card image for the raspberry sdcard update.img.gz : image of root partition to update running raspberry For each image a .sha256 file will be generated to validate integrity. To add custom modifications mou","default_branch":null,"files":null,"tree":[],"storefront":"/r/raspi-alpine","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/raspi-alpine/builder/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}