Skip to content

Instantly share code, notes, and snippets.

make binary-local
go build "-buildmode=pie" -ldflags "-X main.gitCommit=7add6fc80b0f33406217e7c3361cb711c814f028" -gcflags "" -tags "btrfs_noversion libdm_no_deferred_remove " -o skopeo ./cmd/skopeo
vendor/github.com/containers/image/docker/tarfile/dest.go:4:2: cannot find package "archive/tar" in any of:
/root/go/src/github.com/containers/skopeo/vendor/archive/tar (vendor tree)
/usr/local/go/src/archive/tar (from $GOROOT)
/root/go/src/archive/tar (from $GOPATH)
vendor/github.com/sirupsen/logrus/writer.go:4:2: cannot find package "bufio" in any of:
/root/go/src/github.com/containers/skopeo/vendor/bufio (vendor tree)
/usr/local/go/src/bufio (from $GOROOT)
/root/go/src/bufio (from $GOPATH)