1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder/dockerfile/parser
Yong Tang 3e1b539e8d Fix dockerfile parser with empty line after escape
This fix tries to fix the bug reported by #24693 where an empty
line after escape will not be stopped by the parser.

This fix addresses this issue by stop the parser from continue
with an empty line after escape.

An additional integration test has been added.

This fix fixes #24693.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-10-27 10:43:08 -07:00
..
dumper add defer file.Close to avoid potential fd leak 2016-08-10 08:36:09 +08:00
testfile-line Fix dockerfile parser with empty line after escape 2016-10-27 10:43:08 -07:00
testfiles Fix dockerfile parser with empty line after escape 2016-10-27 10:43:08 -07:00
testfiles-negative Move builder files to builder/dockerfile 2015-10-05 18:26:47 -04:00
json_test.go Move directive out of globals 2016-07-26 10:35:33 -07:00
line_parsers.go Fix exec form of HEALTHCHECK CMD 2016-08-31 17:50:12 +01:00
parser.go Fix dockerfile parser with empty line after escape 2016-10-27 10:43:08 -07:00
parser_test.go Fix dockerfile parser with empty line after escape 2016-10-27 10:43:08 -07:00
utils.go Move directive out of globals 2016-07-26 10:35:33 -07:00