1
0
Fork 0
mirror of https://github.com/imjasonh/combine synced 2026-07-08 04:44:52 +00:00
combine/README.md
2021-06-08 10:44:26 -04:00

758 B

combine manifest lists

This tool combines two Docker manifest lists ("multi-arch images") into one that provides all the platforms supported by both manifest lists.

It fails if both images provide the same platforms, or if either isn't a manifest list.

demo

go run ./ \
    gcr.io/distroless/static:nonroot \
    mcr.microsoft.com/windows/nanoserver:1809 \
    gcr.io/imjasonh/combined

This combines the distroless image providing linux platform support with an image providing Windows support.

The result is an image that provides support for both. This image is intended to be suitable as a base image used with ko to provide multi-arch and multi-OS support for a Go application.