From fdb35a39a40786b3ca2170065e0af15d856c03af Mon Sep 17 00:00:00 2001 From: Bernhard Rusch Date: Tue, 22 Oct 2024 09:47:34 +0200 Subject: [PATCH] Debug image flavor: it should be possible to use any local Git repository in Composer for development --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index b04350c..1c34c77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -218,6 +218,9 @@ RUN set -eux; \ \ build-cleanup.sh; \ \ + # For local development, it should be possible to use any local (Git) Composer repository - that's safe in debug image flavor + git config --global --add safe.directory "*" \ + \ # Allow running as an arbitrary user, as the config will be changed through # the entrypoint.sh script chmod -R 0777 /usr/local/etc/php/conf.d/