From cd369b710796505fb0dbcfafed546597eee3786d Mon Sep 17 00:00:00 2001 From: Konstantin Đorđević Date: Fri, 15 Feb 2019 15:46:42 +0100 Subject: 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 --- util/docker_build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util') diff --git a/util/docker_build.sh b/util/docker_build.sh index 26075cc90..e7aeac8f3 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}" -- cgit v1.2.3-24-g4f1b