summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2019-02-15 15:46:42 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-15 06:46:42 -0800
commitcd369b710796505fb0dbcfafed546597eee3786d (patch)
tree8c9879e049a6b63b0f40f784753f2d2fbec313c0 /util
parentcc146e32dcc32c0213c501d734c8c9d61c974ee5 (diff)
docker_build.sh: Run container in interactive mode (#5088)
* docker_build.sh: Run container in interactive mode * Add message about QMK Toolbox * Update Docker docs
Diffstat (limited to 'util')
-rwxr-xr-xutil/docker_build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/docker_build.sh b/util/docker_build.sh
index 26075cc908..e7aeac8f3e 100755
--- a/util/docker_build.sh
+++ b/util/docker_build.sh
@@ -39,11 +39,12 @@ if [ -n "$target" ]; then
else
echo "Error: target requires docker-machine to work on your platform" >&2
echo "See http://gw.tnode.com/docker/docker-machine-with-usb-support-on-windows-macos" >&2
+ echo "Consider flashing with QMK Toolbox (https://github.com/qmk/qmk_toolbox) instead" >&2
exit 3
fi
fi
dir=$(pwd -W 2>/dev/null) || dir=$PWD # Use Windows path if on Windows
# Run container and build firmware
-docker run --rm $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}"