I'm getting this error when building pulling the pggb container and making additional local changes.
PGGB version:
fatal: detected dubious ownership in repository at '/usr/local/bin'
To add an exception for this directory, call:
git config --global --add safe.directory /usr/local/bin
This error has been discussed at length on the net, eg
Hi,
I'm getting this error when building pulling the pggb container and making additional local changes.
This error has been discussed at length on the net, eg
https://github.com/actions/runner-images/issues/6775
I may be wrong, but I think it is due to the versioning code here (see also the error above, where the PGGB version is listed just before the error):
https://github.com/pangenome/pggb/blob/master/Dockerfile#L148
Potentially, a workaround might be to add this prior to the version request in the Dockerfile.
RUN git config --system --add safe.directory /usr/local/bin
Thanks