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>
28 lines
365 B
Plaintext
28 lines
365 B
Plaintext
==================
|
|
Simple add
|
|
==================
|
|
|
|
ONBUILD ADD . /app/src
|
|
|
|
---
|
|
|
|
(source_file
|
|
(onbuild_instruction
|
|
(add_instruction
|
|
(path)
|
|
(path))))
|
|
|
|
==================
|
|
Simple run
|
|
==================
|
|
|
|
ONBUILD RUN /usr/local/bin/python-build --dir /app/src
|
|
|
|
---
|
|
|
|
(source_file
|
|
(onbuild_instruction
|
|
(run_instruction
|
|
(shell_command
|
|
(shell_fragment)))))
|