Closed EricCrosson closed 1 year ago
This commit adds support for parsing multiple parameters to both ADD and COPY commands.
ADD
COPY
For example, tree-sitter-dockerfile now correctly parses both of these lines from the dockerfile reference^1:
ADD --chown=myuser:mygroup --chmod=655 files* /somedir/ COPY --chown=myuser:mygroup --chmod=644 files* /somedir/
Closes #43
Looks great! Thanks for the contribution 🙂
This commit adds support for parsing multiple parameters to both
ADD
andCOPY
commands.For example, tree-sitter-dockerfile now correctly parses both of these lines from the dockerfile reference^1:
Closes #43