docker build script

This commit is contained in:
Krzysiek Egzmont
2023-10-01 21:27:21 +02:00
parent 5c413eb7cd
commit 82b8f6755f
4 changed files with 20 additions and 0 deletions

4
compile-with-docker.bat Normal file
View File

@@ -0,0 +1,4 @@
@echo off
docker build -t uvk5 .
docker run -v %CD%\compiled-firmware:/app/compiled-firmware uvk5 /bin/bash -c "cd /app && make clean && make && cp firmware* compiled-firmware/"
pause