Skip to content

ko-build/ko

Folders and files

NameName
Last commit message
Last commit date
Dec 18, 2024
Jun 9, 2023
Nov 21, 2024
Oct 16, 2024
Jun 10, 2024
Nov 24, 2024
Apr 3, 2024
Oct 16, 2024
Sep 11, 2024
Sep 10, 2024
Oct 11, 2023
Oct 16, 2024
Oct 10, 2022
Jun 10, 2024
Mar 14, 2019
Dec 15, 2022
Jun 9, 2023
Oct 10, 2022
Oct 10, 2022
Mar 4, 2025
Mar 4, 2025
May 21, 2024
Jun 10, 2024
Oct 30, 2024

Repository files navigation

ko: Easy Go Containers

GitHub Actions Build Status GoDoc Go Report Card SLSA 3


🎉 Google has applied for ko to join the Cloud Native Computing Foundation as a Sandbox project! Learn more here!

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 any/many dependencies on the OS base image (e.g., no cgo, no OS package dependencies).

ko builds images by effectively executing go build on your local machine, and as such doesn't require docker 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.

Acknowledgements

This work is based heavily on experience from having built the Docker and Kubernetes support for Bazel. That work was presented here.

Discuss

Questions? Comments? Ideas? Come discuss ko with us in the #ko-build channel on the Kubernetes Slack! See you there!

Community Meetings

You can find all the necessary details about the community meetings in this page.