This is an automated email from the ASF dual-hosted git repository.
damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new ddb93272ab6 Fix git trusted directory errors in website build. (#30171)
ddb93272ab6 is described below
commit ddb93272ab6227b468f1731d8482e14666a684fe
Author: Robert Bradshaw <[email protected]>
AuthorDate: Wed Jan 31 14:00:53 2024 -0800
Fix git trusted directory errors in website build. (#30171)
---
website/Dockerfile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/website/Dockerfile b/website/Dockerfile
index 0cb992422ea..90d4202728d 100644
--- a/website/Dockerfile
+++ b/website/Dockerfile
@@ -74,3 +74,5 @@ RUN HUGOHOME="$(mktemp -d)" \
&& chmod +x /usr/local/bin/hugo \
&& rm -r "${HUGOHOME}"
+# Prevent git errors of the form "fatal: detected dubious ownership in
repository"
+RUN git config --file=/.gitconfig --add safe.directory /opt && chmod a+r
/.gitconfig