mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-10 15:56:47 +00:00
Add an opt-in STATIC_RUNTIME=yes knob to the shim-v2 static build. When set, the Go host binaries are built with the runtime STATIC=yes profile (CGO_ENABLED=0, no PIE), producing fully static, libc-agnostic binaries in the kata-deploy payload. This lets a payload image be produced that runs on musl-only hosts which have no glibc dynamic loader, where the default glibc-linked binaries fail to exec. The default build is unchanged. Signed-off-by: Dimitris Karakasilis <dimitris@spectrocloud.com> Generated-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
Static build
This directory contains files to build static versions of Kata Containers.