custom-uv-k5-firmware/compile-with-docker.sh
nrlourenco 44b2abd68e
Build firmware with Docker (#8)
Dockerfile and script to quickly build the firmware without the need to configure a local environment and keep it as a baseline for development.
2023-08-15 09:08:55 +01:00

3 lines
165 B
Bash

#!/bin/sh
docker build -t uvk5 .
docker run -v $(PWD)/compiled-firmware:/app/compiled-firmware uvk5 /bin/bash -c "cd /app && make && cp firmware* compiled-firmware/"