Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dockerfile: update args definitions to llb.EnvList #5349

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

tonistiigi
Copy link
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>
@@ -2278,8 +2229,7 @@ func reportUnmatchedVariables(cmd instructions.Command, buildArgs []instructions
if len(unmatched) == 0 {
return
}
options := metaArgsKeys(opt.metaArgs)
Copy link
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.

@tonistiigi tonistiigi marked this pull request as ready for review September 24, 2024 00:20
@tonistiigi tonistiigi merged commit b9a4a6e into moby:master Oct 1, 2024
90 of 91 checks passed
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