Skip to content

--build-arg help and validation feature #441

@abacaphiliac

Description

@abacaphiliac

hi Team,

thank you for a very useful tool.

i believe this is a feature request. i checked for duplicates in open Issues and PRs.

it would be great if docker build could enumerate the available build-arg list, either from docker build --help (e.g. in an Arg section separate from the Options section) or through some other help-like sub-command.

building on that idea, it would also be useful if Dockerfile authors could include build-arg validation so that build param types and values could be asserted before kicking off lengthy run steps.

thank you for your consideration.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions