Relax the safe.directory requirement

Co-authored-by: Jeremy Daer <jeremydaer@gmail.com>
This commit is contained in:
Ivan Velichko
2024-09-28 18:00:10 +02:00
committed by GitHub
parent a310aa8fef
commit 0f815e17e4

View File

@@ -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