docker-bench icon indicating copy to clipboard operation
docker-bench copied to clipboard

Retracted library (k8s.io)

Open hutchYy opened this issue 3 years ago • 2 comments

Hi,

It is no more possible to get and install the project as one of the library is retracted (k8s.io)

➔ go get github.com/aquasecurity/docker-bench
go: warning: k8s.io/[email protected]+incompatible: retracted by module author: pre-module versions are obsolete
go: to switch to the latest unretracted version, run:
        go get k8s.io/client-go@latest

Best regards, hutchYy

hutchYy avatar Jul 23 '21 13:07 hutchYy

I got same error

go: warning: k8s.io/[email protected]+incompatible: retracted by module author: pre-module versions are obsolete go: to switch to the latest unretracted version, run: go get k8s.io/client-go@latest go get: installing executables with 'go get' in module mode is deprecated. Use 'go install pkg@version' instead. For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.

please help

xoroz avatar Jun 15 '22 14:06 xoroz

I got it to run by cloning this repo and running go build command in the repo root.

hangg112233 avatar Mar 11 '24 20:03 hangg112233