[bldr]docs
Build APIbldr

ContainerImageMember

A member whose content is an OCI image manifest.

interface in bldr

A member whose content is an OCI image manifest.

Properties

cid: string

property

The member's root content CID.

Kept first-class alongside the typed accessors: some callers genuinely want the string — mounting by CID, link(), a node-function input — rather than a build value.

container: ContainerImage

property

The image itself — derive from it, or take .root() for its rootfs.

See ContainerImage.

kind: "containerImage"

property

layers: string[]

property

The CIDs of the image's layer blobs, for one platform.

Mutable, not readonly: this object is now the member module's default export, so it has to satisfy the runtime Image contract, and a readonly string[] is not assignable to that string[].

manifest: string

property

The image manifest CID (the same content MemberBase.cid names).

name: string

property

The member's name in the workspace ("bldr/daemon", "linux-kernel").

options: Record<string, string>

property

This member's options from bldr-workspace.yml.

Values are strings — the Rust side is a BTreeMap<String, String> and the runtime's own Directory/Image say so too. This said unknown while the member object was a thing apart; now that it is the member module's default export it has to satisfy that contract, and unknown does not.

On this page