Commit graph

16 commits

Author SHA1 Message Date
Camden Cheek 40eceeff30
allow space after backslash to act as line continuation (#49) 2024-04-19 15:02:25 -06:00
tvrinssen 1bf9daef46
Support heredocs (#45)
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>
2024-04-19 14:08:28 -06:00
Ken Micklas 0ddac88c66 Regenerate 2023-09-27 19:35:30 +01:00
Martin Jambon 2a43a1c184 Regenerate 2023-06-23 14:55:54 -07:00
Martin Jambon 771fccc7ec Regenerate 2023-02-21 14:40:46 -08:00
Stephan Seitz 44be8fbf72 fix: allow empty value for env_pair 2022-01-12 22:43:34 +01:00
Camden Cheek d812f3a7fc
comments must start at beginning of line
Previously, this grammar allowed comments to start partway through
lines, but per the Dockerfile spec, that is not valid.
2021-06-20 11:47:14 -06:00
Camden Cheek 3a6c457095
Add support for the CROSS_BUILD instruction set 2021-05-11 08:47:20 -06:00
Camden Cheek 215639ff94
Fix parsing short env vars 2021-05-11 08:19:44 -06:00
Camden Cheek ca57ec244a
Add support for maintainer instruction 2021-05-10 21:16:32 -06:00
Camden Cheek 3693a2fd05
Add support for shell fragments separated by comments 2021-05-10 18:55:28 -06:00
Camden Cheek 74e7f4c3e6
Name variable node for expansions 2021-05-10 17:35:00 -06:00
Camden Cheek 0c4af3e20f
Rename env_spec to expansion 2021-05-10 17:25:35 -06:00
Camden Cheek c281dc9daa
Fix image alias 2021-05-10 17:17:50 -06:00
Camden Cheek 3055288ce1
Add support for replacement vars 2021-05-10 15:16:09 -06:00
Camden Cheek b1fbbe6612
Initial working 2021-05-09 20:11:30 -06:00