Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

fix static link libraries for docker #592

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BoBeR182
Copy link

@BoBeR182 BoBeR182 commented Jul 11, 2024

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

@BoBeR182 BoBeR182 mentioned this pull request Jul 11, 2024
7 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker container at ghcr.io is missing libraries - dynamically linked kubeaudit binary
1 participant