catalogue icon indicating copy to clipboard operation
catalogue copied to clipboard

Creating image from Docker file gives error

Open adyanthaya17 opened this issue 6 years ago • 1 comments

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.

adyanthaya17 avatar Aug 07 '18 06:08 adyanthaya17

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?

amitmahajan78 avatar Mar 22 '19 18:03 amitmahajan78