Shopify / kubeaudit

kubeaudit helps you audit your Kubernetes clusters against common security controls
MIT License
1.9k stars 184 forks source link

fix static link libraries for docker #592

Open BoBeR182 opened 4 months ago

BoBeR182 commented 4 months ago
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
* [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