From fd9564f0c8d487bea5d680dc3b345b6583e0c3f7 Mon Sep 17 00:00:00 2001 From: Ivan Velichko Date: Sat, 28 Sep 2024 18:00:10 +0200 Subject: [PATCH] Relax the safe.directory requirement Co-authored-by: Jeremy Daer --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 09eaf925..3d8af252 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ WORKDIR /workdir # Tell git it's safe to access /workdir/.git even if # the directory is owned by a different user -RUN git config --global --add safe.directory /workdir/.git +RUN git config --global --add safe.directory '*' # Set the entrypoint to run the installed binary in /workdir # Example: docker run -it -v "$PWD:/workdir" kamal init