From 2733924d1d42c1aeec88cbba9e2c83e45ba97cb9 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 28 Jul 2022 05:21:57 -0700 Subject: [PATCH] devops: add safe directory (#16018) --- browser_patches/docker_build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/browser_patches/docker_build.sh b/browser_patches/docker_build.sh index b8a952f427..b250e569a2 100755 --- a/browser_patches/docker_build.sh +++ b/browser_patches/docker_build.sh @@ -187,6 +187,9 @@ function ensure_docker_container { git config --system http.lowSpeedLimit 0 git config --system http.lowSpeedTime 999999 + # set git safe directory + git config --system --add safe.directory /home/pwuser/playwright + su pwuser cd /home/pwuser git clone --depth=1 https://github.com/microsoft/playwright