-
Notifications
You must be signed in to change notification settings - Fork 316
no buildable Go source files #171
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
Comments
My suggestion is that you remove the |
I don't know why I need systemd-related code either. The plugin is a Docker Volume plugin, and one of the options is to run it as a container. I wanted the container to be small, since it's just doing one thing, so that's why I thought of How can I "bring |
Some projects don't need the CGO functions in the util package; split out the functions into a separate file so CGO_ENABLED=0 works if those functions are never used. Fixes coreos#171
Some projects don't need the CGO functions in the util package; split out the functions into a separate file so CGO_ENABLED=0 works if those functions are never used. Fixes coreos#171
Some projects don't need the CGO functions in the util package; split out the functions into a separate file so CGO_ENABLED=0 works if those functions are never used. Fixes coreos#171
Some projects don't need the CGO functions in the util package; split out the functions into a separate file so CGO_ENABLED=0 works if those functions are never used. Fixes coreos#171
Disclaimer: I'm not normally a Go developer, so some of my terms may not be quite right.
I'm trying to build a Docker plugin that use the
go-plugins-helpers
from Docker and I wanted the binary to run in Dockeralpine
, butalpine
doesn't have the linked dynamic binaries or whatever, so I was reading up that I need to setCGO_ENABLED=0
when building. I've tried a few different build commands, including:(Tried that last one with and without
CGO_ENABLED
flag. No error, but still won't run inalpine
.)I keep getting this error:
Steps to reproduce yourself:
See docker/go-plugins-helpers#50
The text was updated successfully, but these errors were encountered: