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
291 B
Plaintext
28 lines
291 B
Plaintext
==================
|
|
Single port
|
|
==================
|
|
|
|
EXPOSE 80
|
|
|
|
|
|
---
|
|
|
|
(source_file
|
|
(expose_instruction
|
|
(expose_port)))
|
|
|
|
==================
|
|
Multiple ports
|
|
==================
|
|
|
|
EXPOSE 80 90/tcp 100/udp
|
|
|
|
|
|
---
|
|
|
|
(source_file
|
|
(expose_instruction
|
|
(expose_port)
|
|
(expose_port)
|
|
(expose_port)))
|