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

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.