mirror of
https://github.com/silenty4ng/uv-k5-firmware-chinese-lts
synced 2025-03-28 13:09:01 +00:00
修改docker编译
This commit is contained in:
parent
894fa86fc8
commit
675ba8753d
2 changed files with 6 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
@echo off
|
||||
call clean.bat
|
||||
del ".\compiled-firmware\"
|
||||
docker build -t uvk5 .
|
||||
docker run -v %CD%\compiled-firmware:/app/compiled-firmware uvk5 /bin/bash -c "cd /app && make clean && make && cp *.bin compiled-firmware/"
|
||||
docker run --rm -v %CD%\compiled-firmware:/app/compiled-firmware uvk5 /bin/bash -c "cd /app && make both && cp *.bin compiled-firmware/"
|
||||
pause
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
docker build -t uvk5 .
|
||||
docker run --rm -v ${PWD}/compiled-firmware:/app/compiled-firmware uvk5 /bin/bash -c "cd /app && make && cp firmware* compiled-firmware/"
|
||||
#!/bin/sh
|
||||
rm -rf compiled
|
||||
docker build -t uvk5 .
|
||||
docker run --rm -v ${PWD}/compiled-firmware:/app/compiled-firmware uvk5 /bin/bash -c "cd /app && make both && cp *.bin compiled-firmware/"
|
Loading…
Add table
Reference in a new issue