-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Enforce netgo build tag while cross-compilation #1690
Conversation
LGTM |
It would be better if it was a var like CROSSTAGS that default to netgo and maybe remove it from Dockerfile if not needed anymore. Otherwise LGTM. |
This should be backport to v1.1.2 since it's critical and will affect v1.1.1 |
LGTM |
@sapk but for now it's enough. Maybe another PR to do that. |
@lunny that why I still LGTM. I think that one time I will search PR with "Otherwise LGTM" for making the changes ^^ |
This hasn't been backported yet, right? |
Yes. Maybe someone could do that so that we can put it in v1.1.2 |
Always enforce the builtin name resolution for cross-compiled binaries to prevent CGO executions.
Fixes #1168
Fixes #1684
Fixes #1408
Fixes #1500