dtcooper/RPi Image Modifier

Raspberry Pi OS Image Modifier

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
base-image-urlBase Raspberry Pi OS image URL (required)yes
script-pathPath of script to run to modify image (one of script-path or run is required)no""
runScript contents run to modify image (one of script-path or run is required)no""
env-varsComma-separated environment variables to pass to the script, example: ONE,TWO,THREEno""
image-pathWhat to name the modified imagenorpi-os-modified.img
mount-repositoryTemporary mount repository at /mounted-github-repo/ for copying filesnotrue
compress-with-xzCompress final image with xz (image-path output will have an .xz extension added)nofalse
extra-xz-argsExtra arguments to pass to the xz commandno""
shrinkShrink final image using PiShrink (https://github.com/Drewsif/PiShrink)notrue
shellShell in container to execute scriptno/bin/bash
cacheCache image file located at base-image-urlnofalse
image-maxsizeThat maximum size of the modified image (needs to fit on disk)no12G
namedescription
image-pathFilename of image, will be same as image-path unless compress-with-xz is set in which case it will have a .xz extension
image-sizeSize of image, as it was before xz compression was optionally applied
image-sha256sumSHA256 sum of image file after xz compression is optionally applied