Skip to content

New bake parser#645

Merged
tonistiigi merged 2 commits intodocker:masterfrom
tonistiigi:new-bake-parser
Jul 2, 2021
Merged

New bake parser#645
tonistiigi merged 2 commits intodocker:masterfrom
tonistiigi:new-bake-parser

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

New implementation with hclparser package that understands variables, functions and attributes. Makes sure parsing is generic and doesn't know about the expected schema. Also removes weird concepts like StaticConfig.

This makes it possible to add linking of values in targets but more work is needed before that. The support for inherits and overrides needs to be moved to the parser level so that if these values are used in variables they get the correct values.

Copy link
Copy Markdown
Member

@crazy-max crazy-max left a comment

Choose a reason for hiding this comment

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

LGTM

@tonistiigi tonistiigi merged commit 12db507 into docker:master Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants