diff --git a/.kokoro/trampoline_v2.sh b/.kokoro/trampoline_v2.sh index 0a520e75f38f..e92904fba308 100755 --- a/.kokoro/trampoline_v2.sh +++ b/.kokoro/trampoline_v2.sh @@ -279,8 +279,7 @@ docker_flags=( # Run the docker script with the user id. Because the docker image gets to # write in ${PWD} you typically want this to be your user id. # To allow docker in docker, we need to use docker gid on the host. - # Now we passing the wrong one in order to see the build report failure. - "--user" "${user_uid}:${user_gid}" + "--user" "${user_uid}:${docker_gid}" # Pass down the USER. "--env" "USER=${user_name}"