klar
klar copied to clipboard
Use golang instead alpine
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)