summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2019-11-30 00:01:22 +1100
committerJoel Challis <git@zvecr.com>2019-11-29 13:01:21 +0000
commit385454e6026e25b48bd15f76c237f88955f07088 (patch)
tree2c1fce4f3ae880b9d7243c5a245cb93bd85c89a2
parent7164e8eeb530e02cb7b648db81907cf941c23257 (diff)
Fix output file permissions when using docker build. (#7378)
-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 99d59d1696..d8c4c759a3 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 \