microservices-demo / catalogue

Apache License 2.0
43 stars 1.63k forks source link

Creating image from Docker file gives error #48

Open adyanthaya17 opened 6 years ago

adyanthaya17 commented 6 years ago

Hi,

I tried building the image by first cloning the repo of the catalogue here to my machine and then ran a docker build for the catalogue folder which container Dockerfile but I am experiencing the below error, is there any work around it?

can't load package: package github.com/microservices-demo/catalogue/cmd/cataloguesvc: cannot find package "github.com/microservices-demo/catalogue/cmd/cataloguesvc" in any of: /usr/local/go/src/github.com/microservices-demo/catalogue/cmd/cataloguesvc (from $GOROOT) /go/src/github.com/microservices-demo/catalogue/cmd/cataloguesvc (from $GOPATH)

Thank you.

amitmahajan78 commented 5 years ago

Hi,

I tried building the image by first cloning the repo of the catalogue here to my machine and then ran a docker build for the catalogue folder which container Dockerfile but I am experiencing the below error, is there any work around it?

can't load package: package github.com/microservices-demo/catalogue/cmd/cataloguesvc: cannot find package "github.com/microservices-demo/catalogue/cmd/cataloguesvc" in any of: /usr/local/go/src/github.com/microservices-demo/catalogue/cmd/cataloguesvc (from $GOROOT) /go/src/github.com/microservices-demo/catalogue/cmd/cataloguesvc (from $GOPATH)

Thank you.

did you able to find the solution?