summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \