mirror of
https://github.com/containers/podman.git
synced 2025-12-09 15:19:35 +08:00
12 lines
529 B
Markdown
12 lines
529 B
Markdown
####> This option file is used in:
|
|
####> podman build, podman-build.unit.5.md.in, farm build
|
|
####> If file is edited, make sure the changes
|
|
####> are applicable to all of those.
|
|
<< if is_quadlet >>
|
|
### `Target=stageName`
|
|
<< else >>
|
|
#### **--target**=*stageName*
|
|
<< endif >>
|
|
|
|
Set the target build stage to build. When building a Containerfile with multiple build stages, --target can be used to specify an intermediate build stage by name as the final stage for the resulting image. Commands after the target stage is skipped.
|