Alternatives to ko
A container image builder for Go applications that works without a Dockerfile or Docker installed. The listings below can replace it for an important use case. Each note says what changes if you switch.
The original
ko
A container image builder for Go applications that works without a Dockerfile or Docker installed.
Replacements
Listings that take over the same core job as ko.
Cloud Native Buildpacks
Tooling that turns application source code into container images without writing a Dockerfile.
Cloud Native Buildpacks builds images from source without a Dockerfile for many languages, not only Go, but gives less direct control over the resulting image.
Buildah
A command-line tool for building OCI container images without a running daemon.
Buildah builds OCI images without a daemon for any application, but images are defined by you through scripts or Dockerfiles instead of ko's Go-specific automatic builds.
Docker Buildx
A Docker CLI plugin that extends image builds with BuildKit, including multi-platform builds.
Docker Buildx offers multi-platform builds through BuildKit for any language, but it requires the Docker CLI and a Dockerfile, which ko avoids.
Similar software
Related functionality, not a direct replacement.
Skaffold
A command-line tool that automates building, pushing and deploying applications during Kubernetes development.
GoReleaser
A command-line release automation tool that builds, packages, signs and publishes software binaries.
Go
An open-source compiled programming language from Google with built-in concurrency and a module system.
Container Structure Test
A command-line tool for validating the structure and contents of container images against defined tests.
ORAS
A command-line tool and client libraries for pushing and pulling OCI artifacts to container registries.
Kubernetes
An open-source system for automating deployment, scaling and management of containerized applications across machines.