ko
last updated: Nov 08, 2023
ko
is a simple, fast container image builder for Go applications.
It's ideal for use cases where your image contains a single Go application without many dependencies on the OS base image (e.g., no cgo, no OS package dependencies).
ko
builds images by executinggo build
on your local machine, and as such doesn't requiredocker
to be installed. This can make it a good fit for lightweight CI/CD use cases.
ko
makes multi-platform builds easy, produces SBOMs by default, and includes support for simple YAML templating which makes it a powerful tool for Kubernetes applications.