From 0f815e17e4615670d074109e1bb508e1d05e3324 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