Skip to main content

materialise_adopted_container_images

Function materialise_adopted_container_images 

Source
pub fn materialise_adopted_container_images(
    text: &str,
    environment: &str,
    images: &BTreeMap<String, String>,
) -> Result<String, String>
Expand description

#3477 (slice C2): text with each adopted container image named in the [containers.images.<capability>] entry of environment (the top level for default, else [env.<name>]): the entry’s dockerfile, build_context and build_vars go, and image takes the digest-pinned reference, so wrangler builds nothing for it. images maps a capability to its reference. An adopted capability with no entry to rewrite is an error: it would be built after all.