You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
578 B
Docker
19 lines
578 B
Docker
from zmkfirmware/zmk-build-arm:stable
|
|
|
|
workdir /build
|
|
run mkdir config
|
|
copy ./config/west.yml ./config/
|
|
|
|
run west init -l /build/config/
|
|
run west update
|
|
run west zephyr-export
|
|
|
|
copy ./config/ ./config
|
|
|
|
run west build -s zmk/app -b nice_nano_v2 -d build_left -- -DZMK_CONFIG=/build/config -DSHIELD=corne_left
|
|
run west build -s zmk/app -b nice_nano_v2 -d build_right -- -DZMK_CONFIG=/build/config -DSHIELD=corne_right
|
|
|
|
run mkdir -p out
|
|
run mv build_left/zephyr/zmk.uf2 ./out/corne_left-nice_nano_v2-zmk.uf2
|
|
run mv build_right/zephyr/zmk.uf2 ./out/corne_right-nice_nano_v2-zmk.uf2
|