{"repo":"ptrsr/pi-ci","free":true,"listed":false,"github":"https://github.com/ptrsr/pi-ci","clone":"git clone https://github.com/ptrsr/pi-ci.git","description":"Prepare Raspberry Pi 3, 4 & 5 configurations using a virtual machine.","language":"Python","stars":752,"topics":["raspberry-pi","continuous-integration","container","virtual-machine","reproducibility","docker","ansible"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"PI-CI A raspberry Pi emulator in a Docker image that lets developers easily prepare and flash RPi configurations. Overview The PI-CI project enables developers to easily: - Run a RPi VM. - Prepare a configuration inside a RPi VM. - Flash a RPi VM image to a physical SD card. Example use cases: - Preconfigure Raspberry Pi servers that work from first boot. - Create reproducible server configurations using Ansible. - Automate the distribution of configurations through a CI pipeline. - Test ARM applications in a virtualized environment. Key features: - Pi 3, 4 and 5 support - 64 bit (ARMv8) Raspberry PI OS (24.04, Bookworm) included - Image: 2024-07-04-raspios-bookworm-arm64-lite - Kernel: 6.6-y - Internet access - No root required - Safe, fully reproducible from source - Tested and stable Usage Each command has a help message, for example: docker run --rm -it ptrsr/pi-ci start -h . Start machine Simply run a ptrsr/pi-ci container with the start command: The emulator will automatically log into root . Persistence To save the resulting image, use a bind mount to /dist : NOTE : this example will create and mount the dist folder in the current working directory of the host. To restart the image, simply use the same bind mount. SSH access To enable ssh access, run the container with port 2222 exposed. Then ssh into the virtual Pi: Resize The default image is 2 gigabytes in size. This can be increased (but not decreased! ) through the resize command. Increasing the size can be done i","default_branch":null,"files":null,"tree":[],"storefront":"/r/ptrsr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ptrsr/pi-ci/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."}