-
Notifications
You must be signed in to change notification settings - Fork 164
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
Docker compose up crashes on go get command #19
Comments
I have this issue as well, anyone has solution yet? Thanks |
Hi @fabulousduck @tunght , I had the same problem and I fixed it adding the workspace in the Dockerfile.
I added the workdir to the service, in this case custom-auth
Let me know if you have any further problem. |
I think appdash "sourcegraph.com/sourcegraph/appdash" and opentracing "sourcegraph.com/github.com/sourcegraph/appdash/opentracing" are the problems, it can't be downloaded or something, the link is dead I guess. |
Is there any solution for this and how to stop go-kit files download always when i hit docker-compose up |
This probably has nothing to do with it but I increased the watchers on my machine and added the WORKDIR and after doing both it's working now... weird.. Just adding the WORKDIR by itself didn't solve it for me... echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p |
when using the generated docker compose file by calling
sudo docker-compose up
. It fails with the following error:ERROR: Service 'bugs' failed to build: The command '/bin/sh -c go get -t -v ./...' returned a non-zero code: 1
Looking at the logs it outputs, it seems like a lot of packages are not being installed.
Trying to execute
go get -t -v ./...
locally in the root folder of the project works just fine.The text was updated successfully, but these errors were encountered: