Skip to content

Commit

Permalink
Update build instructions and Dockerfile to download submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
metaflow authored and drashna committed Apr 9, 2019
1 parent ffd18ce commit 399b992
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ VOLUME /qmk_firmware
WORKDIR /qmk_firmware
COPY . .

CMD make $KEYBOARD:$KEYMAP
CMD make clean ; make git-submodule ; make $KEYBOARD:$KEYMAP
2 changes: 1 addition & 1 deletion util/docker_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ dir=$(pwd -W 2>/dev/null) || dir=$PWD # Use Windows path if on Windows

# Run container and build 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}\""

0 comments on commit 399b992

Please sign in to comment.