-
Notifications
You must be signed in to change notification settings - Fork 837
Open
Labels
bugDocumentation contains incorrect informationDocumentation contains incorrect information
Description
Affected page
https://doc.php.net/guide/local-setup.md
Issue description
Following the instructions on https://doc.php.net/guide/local-setup.md for Docker, running make gives the following error:
n$ make
docker run --rm -v .:/var/www/en -w /var/www -u 1000:1000 php/doc-en
configure.php on PHP 8.2.29, libxml 2.9.14
fatal: detected dubious ownership in repository at '/var/www/doc-base'
To add an exception for this directory, call:
git config --global --add safe.directory /var/www/doc-base
doc-base/temp clean up FAILED.
make: *** [Makefile:22: xhtml] Error 1
I have tried to add that git config line to .docker/Dockerfile in various places, but it seems to have no effect.
Steps to reproduce
No response
Suggested fix
Git within the container really ought to be configured to run inside the container.
Metadata
Metadata
Assignees
Labels
bugDocumentation contains incorrect informationDocumentation contains incorrect information