Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.18 KB

image_index.md

File metadata and controls

46 lines (30 loc) · 1.18 KB

Implementation details for oci_image_index rule

oci_image_index

oci_image_index(name, images)

Build a multi-architecture OCI compatible container image.

It takes number of oci_images to create a fat multi-architecture image.

Requires wc and either sha256sum or shasum to be installed on the execution machine.

oci_image(
    name = "app_linux_amd64"
)

oci_image(
    name = "app_linux_arm64"
)

oci_image_index(
    name = "app",
    images = [
        ":app_linux_amd64",
        ":app_linux_arm64"
    ]
)

ATTRIBUTES

Name Description Type Mandatory Default
name A unique name for this target. Name required
images List of labels to oci_image targets. List of labels required