Add -ldflags '-s -w' to go build to strip DWARF, symbol table and debug info.
See also: -trimpath
See also: -trimpath
https://blog.filippo.io/shrink-your-go-binaries-with-this-on...
Trying to decide if it's worth working into the containers that I maintain.
In reality you'll tell whatever deployment system to deploy your binary/container, and you'll just wait until it's done. In such cases, 150ms won't make a difference in the grand scheme of things due to other systems such as your CI and other things in your pipeline.
goupx is not necessary after go 1.6. https://github.com/pwaller/goupx#update-20160310
I mean sure, in theory you shouldn't get any of those in production, but no software is perfect.