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 Donal McBreen
parent d2338251a9
commit fd9564f0c8

View File

@@ -33,7 +33,7 @@ WORKDIR /workdir
# Tell git it's safe to access /workdir/.git even if # Tell git it's safe to access /workdir/.git even if
# the directory is owned by a different user # 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 # Set the entrypoint to run the installed binary in /workdir
# Example: docker run -it -v "$PWD:/workdir" kamal init # Example: docker run -it -v "$PWD:/workdir" kamal init