clair-scanner icon indicating copy to clipboard operation
clair-scanner copied to clipboard

Make a version that works agains future clair v3

Open arminc opened this issue 7 years ago • 4 comments

arminc avatar Oct 07 '17 17:10 arminc

v1 is gone in the clair repository. v3 is only present

dzwicker avatar Nov 08 '17 13:11 dzwicker

Yeah.. can't compile b/c Stderr: clair.go:10:2: cannot find package "github.com/coreos/clair/api/v1" in any of:

aurcioli-handy avatar Nov 30 '17 18:11 aurcioli-handy

Still having the same problem:

⌬ go get -u -d github.com/arminc/clair-scanner
package github.com/coreos/clair/api/v1: cannot find package "github.com/coreos/clair/api/v1" in any of:
	/usr/local/go/src/github.com/coreos/clair/api/v1 (from $GOROOT)
	/Users/p780680/go/src/github.com/coreos/clair/api/v1 (from $GOPATH)

how can I compile from src?

gugahoi avatar Sep 04 '18 04:09 gugahoi

Hello Team,

I am also facing the same issue with clair scanner. Its is pointing api/v1 which is in master branch. is there way to route to either of the stable release which has api/v1.

image

Also make sure && and make build is also stuck.

Link: https://gist.github.com/sdorsett/1fd15bc0a65a8ec1b74b6a22fa37910a#file-notes-txt-L8

image

Ajitesh2012 avatar Aug 14 '19 15:08 Ajitesh2012