New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go module #29300
Comments
|
I'm assuming this means that it builds when you run
This is because when
The above message occurs because the Dockerfile To resolve this I recommend not build locally i.e. no COPY and instead |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
What version of Go are you using (
go version
)? GO 1.11.2Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
i have a directory github.com/product/color
and im building a mono repo with go kit this is my directory
/color/green/go.mod
/dockerfile
/blue/go.mod
/dockerfile
/yellow/go.mod
/dockerfile
/docker-compose.yaml
/frontend/
/react/
my dockerfile is like this
FROM golang
RUN mkdir -p /srv/green
WORKDIR /srv/green
COPY ./green /srv/green
RUN go get github.com/canthefason/go-watcher
RUN go install github.com/canthefason/go-watcher/cmd/watcher
RUN ls -lrt
ENV GO111MODULE=on
RUN go build
ENTRYPOINT watcher -watch /srv/
basically i just mount my needed go service and run
but i can make it run using go module if im using my sub package within the service
bash: tree: command not found
root@f590661e3876:/srv/green# go build
build github.com/product/color/: cannot find module for path github.com/product/color/green/lib
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: