summaryrefslogtreecommitdiff
path: root/util/travis_build.sh
diff options
context:
space:
mode:
authorzvecr <git@zvecr.com>2019-05-31 20:32:34 +0100
committerDrashna Jaelre <drashna@live.com>2019-05-31 14:39:43 -0700
commitf9c0936cea630e078618bfd8ef3b686dacce2e76 (patch)
tree6a062a57ca20471e975c00378f598ae10c94da3f /util/travis_build.sh
parentdabd73b769f6f0e08dd01d4bcd02d71bc5deaa8d (diff)
downloadqmk_firmware-f9c0936cea630e078618bfd8ef3b686dacce2e76.tar.gz
qmk_firmware-f9c0936cea630e078618bfd8ef3b686dacce2e76.zip
Initial attempt to fix docker creating files as root
Diffstat (limited to 'util/travis_build.sh')
-rwxr-xr-xutil/travis_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/travis_build.sh b/util/travis_build.sh
index 02a749e851..554ec8b689 100755
--- a/util/travis_build.sh
+++ b/util/travis_build.sh
@@ -3,7 +3,7 @@
# if docker is installed - call make within the qmk docker image
if command -v docker >/dev/null; then
function make() {
- docker run --rm -e MAKEFLAGS="$MAKEFLAGS" -w /qmk_firmware/ -v "$PWD":/qmk_firmware qmkfm/qmk_firmware make "$@"
+ docker run --rm -e MAKEFLAGS="$MAKEFLAGS" -w /qmk_firmware/ -v "$PWD":/qmk_firmware --user $(id -u):$(id -g) qmkfm/qmk_firmware make "$@"
}
fi