Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Creating image from Docker file gives error #48

Open
adyanthaya17 opened this issue Aug 7, 2018 · 1 comment
Open

Creating image from Docker file gives error #48

adyanthaya17 opened this issue Aug 7, 2018 · 1 comment

Comments

@adyanthaya17
Copy link

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
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants