-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 build fails in docker with error "no buildable Go source files" #51
Comments
It looks like you're using your own Dockerfile, not the one in The master branch of |
Hey @dhui
But the go build still fails. Is there any other way around this? |
Do you have more info for your build/compile errors? My guess is that the build issues are internal to your project/code as |
I changed the dep installation to via-curl , and it worked. Thanks a lot 😄 |
@namratachaudhary did you ever figure out what was happening? I'm having this same issue on our jenkins server but not locally. |
@dmmulroy |
At the point in dockerfile where the command is
RUN go get -v -t . RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o bin/app
The build fails with error
In main.go, I'm using this , like
The text was updated successfully, but these errors were encountered: