1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder
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
..
dockerfile Check bad syntax on dockerfile before building. 2016-09-13 21:43:10 -07:00
dockerignore add defer file.Close to avoid potential fd leak 2016-08-10 08:36:09 +08:00
builder.go Initial implementation of containerd Checkpoint API. 2016-09-08 21:31:52 -04:00
context.go Fix directory walker error checking 2016-05-26 14:59:38 -07:00
context_test.go Builder unit tests refactoring 2016-05-03 19:00:35 +02:00
context_unix.go Move validateContextDirectory to builder package. 2016-02-09 22:19:09 +01:00
context_windows.go Move validateContextDirectory to builder package. 2016-02-09 22:19:09 +01:00
dockerignore.go add defer file.Close to avoid potential fd leak 2016-08-10 08:36:09 +08:00
dockerignore_test.go Builder unit tests refactoring 2016-05-03 19:00:35 +02:00
git.go utils: move git functions to pkg/gitutils 2015-12-14 14:59:52 +01:00
remote.go Move getContext… function to builder package 2016-02-11 20:59:59 +01:00
remote_test.go Builder unit tests refactoring 2016-05-03 19:00:35 +02:00
tarsum.go Fix build cache false positives when build context tar contains unnormalized paths 2016-04-14 17:57:45 -07:00
tarsum_test.go Builder unit tests refactoring 2016-05-03 19:00:35 +02:00
utils_test.go Builder unit tests refactoring 2016-05-03 19:00:35 +02:00