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

42 lines
535 B
Plaintext
Raw Normal View History

2021-05-09 22:11:30 -04:00
==================
None
==================
HEALTHCHECK NONE
---
(source_file
(healthcheck_instruction))
==================
Custom command
==================
HEALTHCHECK CMD echo "test"
---
(source_file
(healthcheck_instruction
(cmd_instruction
(shell_command
(shell_fragment)))))
2021-05-09 22:11:30 -04:00
==================
With options
==================
HEALTHCHECK --interval=10s --retries=10 CMD echo "test"
---
(source_file
(healthcheck_instruction
(param)
(param)
(cmd_instruction
(shell_command
(shell_fragment)))))
2021-05-09 22:11:30 -04:00