tree-sitter-dockerfile/test/corpus/add.txt

56 lines
589 B
Plaintext
Raw Normal View History

2021-05-09 22:11:30 -04:00
==================
No param
==================
ADD /src ./dst
---
(source_file
(add_instruction
(path)
(path)))
==================
With param
==================
ADD --chown=a:b /src ./dst
---
(source_file
(add_instruction
(param)
(path)
(path)))
==================
Multiple files
==================
ADD src1 src2 dst
---
(source_file
(add_instruction
(path)
(path)
(path)))
==================
Multiple params
==================
ADD --chown=a:b --chmod=644 src dst
---
(source_file
(add_instruction
(param)
(param)
(path)
(path)))