Make gorelease build sstatic binaries, instead of dynamically linked. This ensures the binaries are useable on (almost) any version and variations of operating systems the binaries are built for, and also makes sure the docker container has a static binary.
Fixes #579
Type of change
* [x] Bug fix 🐛
Checklist:
* [x] I have performed a self-review of my own code
* [ ] I have made corresponding changes to the documentation
* [ ] I have added tests that prove my fix is effective or that my feature works
* [ ] New and existing unit tests pass locally with my changes
* [x] The test coverage did not decrease
* [x] I have signed the appropriate [Contributor License Agreement](https://cla.shopify.com/)
Completely reengineered solution that is no way stolen from #580
Description
Make
gorelease
build sstatic binaries, instead of dynamically linked. This ensures the binaries are useable on (almost) any version and variations of operating systems the binaries are built for, and also makes sure the docker container has a static binary.Fixes #579
Type of change
Checklist:
Completely reengineered solution that is no way stolen from #580