Skip to content

Commit

Permalink
Merge pull request #5701 from nalind/layer-label
Browse files Browse the repository at this point in the history
[CI:DOCS] buildah-build.1.md: expand the --layer-label description
  • Loading branch information
openshift-merge-bot[bot] committed Aug 21, 2024
2 parents 1b95a57 + a2629f5 commit 965be0b
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 965be0b

Please sign in to comment.