Skip to content

Kaniko

Issues

Cross-compiling

Beware: Need to run on target architecture hosts

You can pass in docker args:

kaniko --build-arg opts="CGO_ENABLED=0 GOARCH=amd64"

Multi-arch images

Currently not supported, see how to build multi-arch image using kaniko See also Creating Multi-arch Container Manifests Using Kaniko and Manifest-tool:

While Kaniko itself currently does not support creating multi-arch manifests (contributions welcome), one can use tools such as manifest-tool to stitch multiple separate builds together into a single container manifest.