mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-10 15:56:47 +00:00
Add a Kata static-build component for NVRC (tools/packaging/static-build/nvrc) that clones the NVRC repository at a pinned git reference and builds a static musl binary, mirroring the coco-guest-components build. This lets the composable-image work track NVRC changes from source instead of depending on a signed upstream release. The ref itself lives in its own versions.yaml commit and points at NVIDIA/nvrc#167 (fidencio/nvrc topic/adapt-for-composable-kata-images), which carries the guest-side extension mounting. Building from a ref is a CI-only crutch: once NVRC cuts a signed release with that work we drop the ref and go back to downloading it from `url`. - lib.sh: add get_nvrc_image_name for the builder image. - kata-deploy-binaries.sh: add the nvrc build target, install_nvrc and its tarball path; get_latest_nvidia_nvrc_version now tracks ref+toolchain so the dependent NVIDIA images rebuild when the ref changes. - nvidia_rootfs.sh: pick the NVRC source based on externals.nvrc.ref - when it is set consume the from-source kata-static-nvrc.tar.zst (a build we made ourselves, nothing to verify); otherwise keep downloading and cosign-verifying the signed release. The Sigstore .cert/.sig are copied only when present (i.e. the signed-release path), since a source build emits just the binary. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com> Assisted-by: Cursor <cursoragent@cursor.com>
Kata Containers packaging
Introduction
Kata Containers currently supports packages for many distributions. Tooling to aid in creating these packages are contained within this repository.
Build in a container
Kata build artifacts are available within a container image, created by a
Dockerfile. Reference DaemonSets are provided in
kata-deploy, which make installation of Kata Containers in a
running Kubernetes Cluster very straightforward.
Build static binaries
See the static build documentation.
Build Kata Containers Kernel
Build QEMU
Create a Kata Containers release
See the release documentation.
Packaging scripts
See the scripts documentation.
Credits
Kata Containers packaging uses packagecloud for package hosting.