tree-sitter-dockerfile/corpus
Eric Crosson c9351d9009 support multiple parameters to ADD and COPY
This commit adds support for parsing multiple parameters to both `ADD`
and `COPY` commands.

For example, tree-sitter-dockerfile now correctly parses both of these
lines from the dockerfile reference[^1]:

```dockerfile
ADD --chown=myuser:mygroup --chmod=655 files* /somedir/
COPY --chown=myuser:mygroup --chmod=644 files* /somedir/
```

Closes #43

[^1]: https://docs.docker.com/engine/reference/builder/
2023-10-09 18:40:56 -05:00
..
add.txt support multiple parameters to ADD and COPY 2023-10-09 18:40:56 -05:00
arg.txt Initial working 2021-05-09 20:11:30 -06:00
cmd.txt Add support for single-quoted strings and distinguish JSON strings from 2023-06-22 19:44:07 -07:00
combo.txt add optional leading comment to shell_command 2022-01-23 12:37:35 -07:00
comment.txt comments must start at beginning of line 2021-06-20 11:47:14 -06:00
copy.txt support multiple parameters to ADD and COPY 2023-10-09 18:40:56 -05:00
cross_build.txt Add support for the CROSS_BUILD instruction set 2021-05-11 08:47:20 -06:00
entrypoint.txt Add support for single-quoted strings and distinguish JSON strings from 2023-06-22 19:44:07 -07:00
env.txt Allow variables to begin or end with underscores 2022-09-13 20:27:53 -03:00
expose.txt Initial working 2021-05-09 20:11:30 -06:00
from.txt Disallow whitespace in some multi-fragment constructs. 2022-04-04 19:08:03 -07:00
healthcheck.txt Add support for shell fragments separated by comments 2021-05-10 18:55:28 -06:00
label.txt Support quoted LABEL keys 2023-09-27 19:35:26 +01:00
maintainer.txt Allow square brackets after first character in shell fragment 2021-05-10 21:23:10 -06:00
onbuild.txt Add support for shell fragments separated by comments 2021-05-10 18:55:28 -06:00
run.txt Add support for single-quoted strings and distinguish JSON strings from 2023-06-22 19:44:07 -07:00
shell_instruction.txt Add support for single-quoted strings and distinguish JSON strings from 2023-06-22 19:44:07 -07:00
stopsignal.txt Disallow whitespace in some multi-fragment constructs. 2022-04-04 19:08:03 -07:00
strings.txt Produce CST nodes for the different kinds of JSON string fragments 2023-06-23 14:54:29 -07:00
user.txt Fix error if USER username/group contains capital 2023-05-02 20:54:19 +02:00
vars.txt Allow variables to begin or end with underscores 2022-09-13 20:27:53 -03:00
volume.txt Add support for single-quoted strings and distinguish JSON strings from 2023-06-22 19:44:07 -07:00
workdir.txt Initial working 2021-05-09 20:11:30 -06:00