Capture additional metadata in the parse phase · Issue #5889 · moby/buildkit (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
(area/dockerfile, enhancement)
I am trying to build a dockerfile formatter. The current dockerfile parser discards comment nodes from the AST instead of adding them, making a round-trip from AST back to source very tricky. I am hoping to improve the parser so this can be captured.
Would this project accept a PR tracking this additional metadata? This would mean the addition of a comment node, and tests to go with it.