cloudflare / cfssl

CFSSL: Cloudflare's PKI and TLS toolkit
https://cfssl.org/
BSD 2-Clause "Simplified" License
8.66k stars 1.1k forks source link

error reading package: cannot find package when building CFSSL Docker image #930

Closed onemark closed 5 years ago

onemark commented 6 years ago

Hi there,

When i want to build the CFSSL Docker container and use the Dockerfile then i get this error:

Step 7/10 : RUN go get github.com/cloudflare/cfssl_trust/... && go get github.com/GeertJohan/go.rice/rice && rice embed-go -i=./cli/serve && cp -R /go/src/github.com/cloudflare/cfssl_trust /etc/cfssl && go install ./cmd/... ---> Running in 33d977b07617 warning: ignoring symlink /go/src/github.com/cloudflare/cfssl_trust/vendor/github.com/prometheus/procfs/fixtures/self warning: ignoring symlink /go/src/github.com/cloudflare/cfssl_trust/vendor/github.com/prometheus/procfs/fixtures/self error reading package: cannot find package "./cli/serve" in: /go/src/github.com/cloudflare/cfssl/cli/serve The command '/bin/sh -c go get github.com/cloudflare/cfssl_trust/... && go get github.com/GeertJohan/go.rice/rice && rice embed-go -i=./cli/serve && cp -R /go/src/github.com/cloudflare/cfssl_trust /etc/cfssl && go install ./cmd/...' returned a non-zero code: 1

Any body know why get this?

onemark commented 5 years ago

Forget this, i did not clone the repo so obvious it would not work.