Update build instructions and Dockerfile to download submodules

pull/5613/head
Mikhail Goncharov 7 years ago committed by Drashna Jaelre
parent ffd18ce409
commit 399b992b01
No known key found for this signature in database
GPG Key ID: 4C4221222CD5F9F0

@ -26,4 +26,4 @@ VOLUME /qmk_firmware
WORKDIR /qmk_firmware WORKDIR /qmk_firmware
COPY . . COPY . .
CMD make $KEYBOARD:$KEYMAP CMD make clean ; make git-submodule ; make $KEYBOARD:$KEYMAP

@ -47,4 +47,4 @@ dir=$(pwd -W 2>/dev/null) || dir=$PWD # Use Windows path if on Windows
# Run container and build firmware # Run container and build firmware
docker run --rm -it $usb_args -v "$dir":/qmk_firmware qmkfm/qmk_firmware \ docker run --rm -it $usb_args -v "$dir":/qmk_firmware qmkfm/qmk_firmware \
make "$keyboard${keymap:+:$keymap}${target:+:$target}" /bin/bash -c "make git-submodule; make \"$keyboard${keymap:+:$keymap}${target:+:$target}\""

Loading…
Cancel
Save