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

New bake parser #645

Merged
merged 2 commits into from
Jul 2, 2021
Merged

New bake parser #645

merged 2 commits into from
Jul 2, 2021

Conversation

tonistiigi
Copy link
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
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