benWize commented on code in PR #23405:
URL: https://github.com/apache/beam/pull/23405#discussion_r996071682


##########
website/build.gradle:
##########
@@ -80,10 +80,10 @@ task createDockerContainer(type: Exec) {
     } else {
       // Otherwise: run as current user, so as to not require sudo to clean up
       // build/ directory.
-      extraOptions += " -u \$(id -u):\$(id -g)"
+      extraOptions += " -u 0:0"
     }
     commandLine '/bin/bash', '-c',
-      "docker create -v $project.rootDir:$dockerWorkDir $extraOptions 
$dockerImageTag sh -c 'trap \"exit 0\" INT; while true; do sleep 30; done;'"

Review Comment:
   We had problems mounting volumes using Docker in Docker with the self-hosted 
runners, we decide to clone the repository inside the container and complete 
all the steps there.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to