A simple container image to compile Anduril 2 firmwares
I use podman in this case but you can use docker
Clone the repo and cd into the directory
Build the image
podman build -t anduril2-build:latest .
If using breezy:
brz branch lp:~toykeeper/flashlight-firmware/anduril2
Or simply grab an archive and extract it somewhere
Assuming source is extracted to ~/projects/anduril2
Assuming the container image name/tag is "anduril2:latest"
Build all the firmwares with either "make" or "build" action
podman run --rm -v ~/projects/anduril2:/src anduril2-build:latest build
Build only targets matching a pattern, for example "ts10"
podman run --rm -v ~/projects/anduril2:/src anduril2-build:latest build ts10
Clean (same as make clean)
podman run --rm -v ~/projects/anduril2:/src anduril2-build:latest clean
Runs make (default target is "all", which builds all the firmwares)
podman run --rm -v ~/projects/anduril2:/src anduril2-build:latest make
Drop to bash shell (don't forget -it arguments)
podman run -it --rm -v ~/projects/anduril2:/src anduril2-build:latest bash
Show help
podman run --rm -v ~/projects/anduril2:/src anduril2-build:latest help
Compiled hex files are found in ToyKeeper/spaghetti-monster/anduril/