Skip to content

Generic way to build the first stage #274

@nalind

Description

@nalind

Discussed in containers/buildah#5263

Originally posted by vonbox January 11, 2024
With buildah bud --target=layer0 . I can build the first stage of a multistage containerfile. Is there a way to specify the first layer without me needing to name it, or without needing to know the name? Something like buildah bud --target=0 .?
I am trying to create a kinda generic script that should be able to build the first stage of any containerfile.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions