Skip to content
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

zero out the build id for reproducible builds #89136

Merged

Commits on Mar 16, 2020

  1. zero out the build id for reproducible builds

    We have been having issues with making builds reproducible, especially
    with the `.note.go.buildid` ELF section. One tip from a golang issue was
    to set `-ldflags=-buildid=` which seems to work well. You can confirm
    that the buildid is set to empty by inspecting the binaries with the go
    command example `go tool buildid _output/local/go/bin/kubectl`
    
    Signed-off-by: Davanum Srinivas <davanum@gmail.com>
    dims committed Mar 16, 2020
    Configuration menu
    Copy the full SHA
    d70d04f View commit details
    Browse the repository at this point in the history