Skip to content

Commit

Permalink
map UID/GID for dkr wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrake committed Oct 2, 2018
1 parent 7130f7c commit 59c6846
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions envsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ dkr() {
-v $(readlink -f $SSH_AUTH_SOCK):/ssh-agent \
-e SSH_AUTH_SOCK=/ssh-agent \
-e MACHINE=$MACHINE \
--user $UID:$GID \
${DOCKER_REPO} /bin/bash -c "cd $(pwd) && . envsetup.sh && $CMD $2 $3 $4 $5 $6 $7 $8"
}

Expand Down

0 comments on commit 59c6846

Please sign in to comment.