You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running make docker to build new binaries produces this error message:
fatal: unsafe repository ('/path/to/repo' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory /path/to/repo
A brief Google search leads me to these resources:
Resolve the `fatal: unsafe repository
('/path/to/repo' is owned by someone else)` error message
thrown by newer Git versions by:
- execute Alpine Docker build containers as non-root user
- attempt current UID by default, fallback to trying UID 1000
- explicitly set `GOCACHE` environment variable to `/tmp/`
within build container
- resolve permission issue with the go toolchain attempting to
use `/.cache` by default within the Docker container
refs GH-159
Running
make docker
to build new binaries produces this error message:A brief Google search leads me to these resources:
fatal: unsafe repository (REPO is owned by someone else)
with ubuntu 20.04 container actions/checkout#760One of the workarounds given:
The upside is that it runs the build container without root privileges, which is a win in itself.
The text was updated successfully, but these errors were encountered: