Skip to content

dockerfile: update args definitions to llb.EnvList#5349

Merged
tonistiigi merged 1 commit intomoby:masterfrom
tonistiigi:dockerfile-args
Oct 1, 2024
Merged

dockerfile: update args definitions to llb.EnvList#5349
tonistiigi merged 1 commit intomoby:masterfrom
tonistiigi:dockerfile-args

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

This avoids many temporary conversion between maps/slices and shell.EnvGetter.

This avoids many temporary conversion between maps/slices
and shell.EnvGetter.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
if len(unmatched) == 0 {
return
}
options := metaArgsKeys(opt.metaArgs)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@daghack I didn't replace this with globalArgs. Afaics the valid options need to be in the env . If they are defined in the global section but not available in the env then they can't be really used yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant