Skip to content

Commit

Permalink
fix docker user group
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankurte committed Mar 10, 2020
1 parent f0b24a0 commit 9eb658f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cross/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if [ -z "$CARGO_HOME"]; then
fi


DOCKER_CMD="docker run --rm -v=`pwd`:/work -v$CARGO_HOME/registry:/root/.cargo/registry -v$SCCACHE_DIR:/root/.cache --workdir=/work --env PKG_CONFIG_ALLOW_CROSS=1"
DOCKER_CMD="docker run --rm -v=`pwd`:/work -v$CARGO_HOME/registry:/root/.cargo/registry -v$SCCACHE_DIR:/root/.cache --workdir=/work --user=:`id -g` --env PKG_CONFIG_ALLOW_CROSS=1"

DOCKER_IMG=ryankurte/rust-embedded

Expand Down

0 comments on commit 9eb658f

Please sign in to comment.