kata-containers/tools/packaging/static-build/shim-v2
Archana Shinde 4e48509ed9 build: Set safe.directory for runtime repo
While doing a docker build for shim-v2, we see this:

```
fatal: unsafe repository
('/home/${user}/go/src/github.com/kata-containers/kata-containers' is
owned by someone else)
To add an exception for this directory, call:

        git config --global --add safe.directory
/home/${user}/go/src/github.com/kata-containers/kata-containers
```

This is because the docker container build is run as root while the
runtime repo is checked out as normal user.

Unlike this error causing the rootfs build to error out, the error here
does not really cause `make shim-v2-tarball` to fail.

However its good to get rid of this error message showing during the
make process.

Fixes: #4572

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2022-06-30 20:52:44 -07:00
..
build.sh build: Set safe.directory for runtime repo 2022-06-30 20:52:44 -07:00
Dockerfile packaging: delint static-build dockerfiles 2021-12-21 09:54:41 -05:00
install_go.sh scripts: Change here document delimiters 2022-03-10 09:23:37 +00:00