brainstate

ko-build/ko · source

Snapshot 0 · 2026-11-04T12:47:25Z · Go · Apache-2.0

Content fingerprint80aef99dac4b7d43876e07f5b57ac5bd4368cd93d86e71b8c2983d03cf2ba55a

GitHub description at capture

Build and deploy Go applications

README at capture

# `ko`: Easy Go Containers

[![GitHub Actions Build Status](https://github.com/ko-build/ko/workflows/Build/badge.svg)](https://github.com/ko-build/ko/actions?query=workflow%3ABuild)
[![GoDoc](https://godoc.org/github.com/google/ko?status.svg)](https://godoc.org/github.com/google/ko)
[![Go Report Card](https://goreportcard.com/badge/ko-build/ko)](https://goreportcard.com/report/ko-build/ko)

<img src="./docs/images/demo.png" width="100%">

---

> 🎉 `ko` is a [Cloud Native Computing Foundation](https://cncf.io) [Sandbox project](https://www.cncf.io/projects/ko/)!

`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](https://ko.build/features/multi-platform/) easy, produces [SBOMs](https://ko.build/features/sboms/) by default, and includes support for simple YAML templating which makes it a powerful tool for [Kubernetes applications](https://ko.build/features/k8s/).

# [Install `ko`](https://ko.build/install/) and [get started](https://ko.build/get-started/)!

### Acknowledgements

This work is based heavily on experience from having built the [Docker](https://github.com/bazelbuild/rules_docker) and [Kubernetes](https://github.com/bazelbuild/rules_k8s) support for [Bazel](https://bazel.build).
That work was presented [here](https://www.youtube.com/watch?v=RS1aiQqgUTA).

### Discuss

Questions? Comments? Ideas?
Come discuss `ko` with us in the `#ko-build` channel on the [Kubernetes Slack](https://slack.k8s.io)!
See you there!

### Community Meetings

You can find all the necessary details about the community meetings in this [page](https://ko.build/community).

---

`ko` is a Cloud Native Computing Foundation [Sandbox project](https://www.cncf.io/projects/ko/).

<a href="https://cncf.io">
    <picture>
        <source media="(prefers-color-scheme: dark)" srcset="./docs/images/cncf-dark.svg">
        <img width="300" src="./docs/images/cncf-light.svg" alt="CNCF logo">
    </picture>
</a>