optiopay / klar

Integration of Clair and Docker Registry
MIT License
506 stars 138 forks source link

Use golang instead alpine #166

Open jmferrer opened 4 years ago

jmferrer commented 4 years ago

Using alpine image docker build returns an error:

Step 3/8 : RUN go get -d github.com/optiopay/klar
 ---> Running in 6562fdf69543
package github.com/quay/clair/v3/pkg/commonerr: cannot find package "github.com/quay/clair/v3/pkg/commonerr" in any of:
    /usr/local/go/src/github.com/quay/clair/v3/pkg/commonerr (from $GOROOT)
    /go/src/github.com/quay/clair/v3/pkg/commonerr (from $GOPATH)
package github.com/quay/clair/v3/pkg/pagination: cannot find package "github.com/quay/clair/v3/pkg/pagination" in any of:
    /usr/local/go/src/github.com/quay/clair/v3/pkg/pagination (from $GOROOT)
    /go/src/github.com/quay/clair/v3/pkg/pagination (from $GOPATH)