mirror of
https://github.com/containers/skopeo.git
synced 2025-10-21 19:03:44 +00:00
This allows using the vendored dependencies instead of searching for them in $GOPATH and elsewhere. This does not necessarily matter for skopeo itself, but the test-skopeo Makefile target in containers/image uses (go mod edit -replace) to replace the vendored c/image with a locally-edited copy; skopeo's (make check) then runs tests in a container which does not have access to this locally-edited copy, and since Go 1.13 this causes (go {list,test,vet}) to fail if -mod=vendor is not used. Signed-off-by: Miloslav Trmač <mitr@redhat.com>