moby--moby/builder/dockerfile
Yong Tang c8dc2b156a Check bad syntax on dockerfile before building.
This fix tries to address the issue raised in 26453 where bad syntax
on dockerfile is not checked before building, thus user has to wait
before seeing error in dockerfile.

This fix fixes the issue by evaluating all the instructions and check
syntax before dockerfile is invoked actually.

All existing tests pass.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-09-13 21:43:10 -07:00
..
command Builder default shell 2016-06-03 13:54:31 -07:00
parser Fix exec form of HEALTHCHECK CMD 2016-08-31 17:50:12 +01:00
bflag.go correct some nits in comment and test files 2016-08-29 18:37:14 +08:00
bflag_test.go
builder.go Check bad syntax on dockerfile before building. 2016-09-13 21:43:10 -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
evaluator.go Check bad syntax on dockerfile before building. 2016-09-13 21:43:10 -07:00
evaluator_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
evaluator_unix.go
evaluator_windows.go
internals.go Check bad syntax on dockerfile before building. 2016-09-13 21:43:10 -07:00
internals_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
internals_unix.go Windows: Reduce CLI time, move some to unit tests 2016-05-06 12:26:08 -07:00
internals_windows.go Windows: Reduce CLI time, move some to unit tests 2016-05-06 12:26:08 -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
shell_parser_test.go
support.go Builder default shell 2016-06-03 13:54:31 -07:00
support_test.go
utils_test.go Reimplement integration test for symlink Dockerfile as a unit test 2016-06-14 23:07:19 +02:00
wordsTest