Limitations

ko works best when your application has no dependencies on the underlying image.

This means ko is ideal when you don’t require cgo, and builds are executed with CGO_ENABLED=0 by default.

To install other OS packages, make those available in your configured base image.

ko only supports Go applications. For a similar tool targeting Java applications, try Jib. For other languages, try apko and melange.