util/docker/doc.coreboot.org: Allow git to work in envs owned by root

Depending on the environment, the /data-in directory might be owned by
root and recent git versions refuse to work in these. So explicitly
mark /data-in as a safe environment.

Change-Id: Ia534928f759e50c2dfb1df8af653dee74c734603
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85727
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nicholas Chin <nic.c3.14@gmail.com>
This commit is contained in:
Felix Singer 2024-12-22 00:02:43 +01:00
commit 78f610a0ae

View file

@ -34,6 +34,8 @@ RUN \
sphinx_autobuild===2024.2.4 \
sphinx_rtd_theme===2.0.0
RUN git config --global --add safe.directory /data-in
# For Sphinx-autobuild
# Port 8000 - HTTP server
# Port 35729 - websockets connection to allow automatic browser reloads after each build