summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2019-11-30 00:01:22 +1100
committerFlorian Didron <fdidron@users.noreply.github.com>2020-01-09 08:57:11 +0900
commit5a5c90f8519a42bde253d1be5494b1704c2491c2 (patch)
tree437b1a810874d363e52209c5f964464d786b4ccd /util
parent493c67577839763608d8bded4d90d0087b50b7b6 (diff)
Fix output file permissions when using docker build. (#7378)
Diffstat (limited to 'util')
-rwxr-xr-xutil/docker_build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/docker_build.sh b/util/docker_build.sh
index 8bc59797fb..7106344690 100755
--- a/util/docker_build.sh
+++ b/util/docker_build.sh
@@ -51,6 +51,7 @@ 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 \
+ --user $(id -u):$(id -g) \
-w /qmk_firmware \
-v "$dir":/qmk_firmware \
-e ALT_GET_KEYBOARDS=true \