add script and compose file for mcu builds

This commit is contained in:
Markus Küffner
2022-06-18 17:45:58 +02:00
parent dc5c059a7d
commit 1f966fb132
2 changed files with 14 additions and 0 deletions

11
docker-compose.mcu.yaml Normal file
View File

@@ -0,0 +1,11 @@
services:
make:
image: mkuf/klipper:nightly-mcu
tty: true
privileged: true
entrypoint: make
working_dir: /opt/klipper
volumes:
- /dev:/dev
- ./config/build.config:/opt/klipper/.config
- ./out:/opt/klipper/out

3
scripts/build-mcu.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
docker compose -f docker-compose.mcu.yaml run --rm make "${@}"