{"repo":"Nature40/pimod","free":true,"listed":false,"github":"https://github.com/Nature40/pimod","clone":"git clone https://github.com/Nature40/pimod.git","description":"Reconfigure Raspberry Pi images with an easy, Docker-like configuration file","language":"Shell","stars":149,"topics":["raspberry-pi","distribution","pifile","pi-image","automation"],"license":"GPL-3.0","category":"workflow-automation","readme_excerpt":"pimod Reconfigure Raspberry Pi images with an easy, Docker-like configuration file. About pimod overtakes a given Raspberry Pi image file by mounting a copy and modifying it within a QEMU chroot. This allows the execution of a Pi's ARM code on whatever target, e.g., a x86\\ 64 host. To ease the usability, a Docker-inspired recipe, called the Pifile, is used to instrument pimod. Installation, Usage Docker Getting or Building the Docker Image There are pre-built images available on Docker Hub: Alternatively, you can simply build the image yourself locally. This is essential for development, among other things: Using the Docker Image Afterwards, the Docker image can either be used by docker or docker compose : Debian Of course, Docker isn't really necessary and pimod can also be used on, e.g., a Debian directly: GitHub Actions Pimod can also be used as a GitHub Action and is available on the marketplace. Pifile The Pifile contains commands to modify the image. Those commands are grouped in stages which pimod executes in their corresponding order. - First, all setup stage commands are being executed to download the base image and configure the output. - The prepare stage follows which pre-flight commands, e.g., resizing the output image. - The action happens in the chroot stage where the QEMU chroot is built, commands are executed within, files are copied and so on. - Finally, the postprocess stage might clean up some things. However, as the Pifile being just a Bash script by itse","default_branch":null,"files":null,"tree":[],"storefront":"/r/Nature40","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Nature40/pimod/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."}