moby/builder/dockerfile
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
..
command Builder default shell 2016-06-03 13:54:31 -07:00
parser Fix dockerfile parser with empty line after escape 2016-10-27 10:43:08 -07:00
bflag.go correct some nits in comment and test files 2016-08-29 18:37:14 +08:00
bflag_test.go Move builder files to builder/dockerfile 2015-10-05 18:26:47 -04:00
builder.go Don't env-var evaluate labels from docker build cmd line 2016-10-05 18:17:02 -07:00
builder_unix.go Builder default shell 2016-06-03 13:54:31 -07:00
builder_windows.go Builder default shell 2016-06-03 13:54:31 -07:00
dispatchers.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
dispatchers_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
dispatchers_unix.go Builder default shell 2016-06-03 13:54:31 -07:00
dispatchers_unix_test.go Builder dispatchers unit tests 2016-07-12 07:40:25 +02:00
dispatchers_windows.go Builder default shell 2016-06-03 13:54:31 -07:00
dispatchers_windows_test.go Windows: Reduce CLI time, move some to unit tests 2016-05-06 12:26:08 -07:00
envVarTest Allow for env vars to have spaces in some cases 2015-11-09 12:42:56 -08:00
evaluator.go Windows: Honour escape directive fully 2016-10-21 14:22:14 -07:00
evaluator_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
evaluator_unix.go Enabling expose support for Windows TP5 2016-03-30 17:25:41 -07:00
evaluator_windows.go Windows: Support ARG in builder 2016-05-04 14:32:23 -07:00
internals.go add --network option for docker build 2016-10-25 10:25:36 -07:00
internals_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
internals_unix.go Windows: Fix wildcard expansion after slash in filename 2016-09-14 11:40:57 -07:00
internals_windows.go Windows: Fix wildcard expansion after slash in filename 2016-09-14 11:40:57 -07:00
internals_windows_test.go Windows: Reduce CLI time, move some to unit tests 2016-05-06 12:26:08 -07:00
shell_parser.go Windows: Honour escape directive fully 2016-10-21 14:22:14 -07:00
shell_parser_test.go Windows: Honour escape directive fully 2016-10-21 14:22:14 -07:00
support.go Builder default shell 2016-06-03 13:54:31 -07:00
support_test.go Unit tests for builder/dockerfile/support 2016-04-16 00:19:58 +02:00
utils_test.go Reimplement integration test for symlink Dockerfile as a unit test 2016-06-14 23:07:19 +02:00
wordsTest Allow for env vars to have spaces in some cases 2015-11-09 12:42:56 -08:00