1bf9daef46
This adds support for heredocs in Dockerfiles. This required adding an external scanner to store the required state. Co-authored-by: Camden Cheek <camden@ccheek.com>
42 lines
535 B
Plaintext
42 lines
535 B
Plaintext
==================
|
|
None
|
|
==================
|
|
|
|
HEALTHCHECK NONE
|
|
|
|
---
|
|
|
|
(source_file
|
|
(healthcheck_instruction))
|
|
|
|
==================
|
|
Custom command
|
|
==================
|
|
|
|
HEALTHCHECK CMD echo "test"
|
|
|
|
---
|
|
|
|
(source_file
|
|
(healthcheck_instruction
|
|
(cmd_instruction
|
|
(shell_command
|
|
(shell_fragment)))))
|
|
|
|
==================
|
|
With options
|
|
==================
|
|
|
|
HEALTHCHECK --interval=10s --retries=10 CMD echo "test"
|
|
|
|
---
|
|
|
|
(source_file
|
|
(healthcheck_instruction
|
|
(param)
|
|
(param)
|
|
(cmd_instruction
|
|
(shell_command
|
|
(shell_fragment)))))
|
|
|