Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1f86119

Browse files
author
Takashi Matsuo
committed
use $PROJECT_ROOT instead of $PWD
1 parent a4ddaf1 commit 1f86119

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.kokoro/trampoline_v2.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,8 @@ docker_flags=(
249249
# Pass down the USER.
250250
"--env" "USER=${user_name}"
251251

252-
# Mount the project directory inside the Docker container. To
253-
# allow docker in docker correctly mount the volume, we use the
254-
# same path for the volume.
255-
"--volume" "${PWD}:/v"
252+
# Mount the project directory inside the Docker container.
253+
"--volume" "${PROJECT_ROOT}:/v"
256254
"--workdir" "/v"
257255
"--env" "PROJECT_ROOT=/v"
258256

0 commit comments

Comments
 (0)