Skip to content

Commit

Permalink
buildah-build.1.md: expand the --layer-label description
Browse files Browse the repository at this point in the history
Expand on the description of what --layer-label does.

Signed-off-by: Nalin Dahyabhai <[email protected]>
  • Loading branch information
nalind committed Aug 21, 2024
1 parent 577b6ac commit a2629f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/buildah-build.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ If *label* is named, but neither `=` nor a `value` is provided, then the *label*
Users can set a special LABEL **io.containers.capabilities=CAP1,CAP2,CAP3** in
a Containerfile that specifies the list of Linux capabilities required for the
container to run properly. This label specified in a container image tells
container engines, like Podman, to run the container with just these
container engines, like Podman, which recognize this label to run the container with just these
capabilities. The container engine launches the container with just the specified
capabilities, as long as this list of capabilities is a subset of the default
list.
Expand All @@ -547,7 +547,8 @@ capabilities.

**--layer-label** *label[=value]*

Add an intermediate image *label* (e.g. label=*value*) to the intermediate image metadata. It can be used multiple times.
Add an intermediate image *label* (e.g. label=*value*) to the metadata in intermediate images, i.e., any images built for
non-final stages and for non-final instructions in stages when **--layers** is **true**. It can be used multiple times.
If *label* is named, but neither `=` nor a `value` is provided, then the *label* is set to an empty value.

**--layers** *bool-value*
Expand Down

0 comments on commit a2629f5

Please sign in to comment.