moby/builder
Yong Tang 7815c8f875 Warn/deprecate continuing on empty lines in Dockerfile
This fix is related to 29005 and 24693. Currently in `Dockerfile`
empty lines will continue as long as there is line escape before.
This may cause some issues. The issue in 24693 is an example.
A non-empty line after an empty line might be considered to be a
separate instruction by many users. However, it is actually part
of the last instruction under the current `Dockerfile` parsing
rule.

This fix is an effort to reduce the confusion around the parsing
of `Dockerfile`. Even though this fix does not change the behavior
of the `Dockerfile` parsing, it tries to deprecate the empty line
continuation and present a warning for the user. In this case,
at least it prompt users to check for the Dockerfile and avoid
the confusion if possible.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-06-23 13:04:40 -04:00
..
dockerfile Warn/deprecate continuing on empty lines in Dockerfile 2017-06-23 13:04:40 -04:00
dockerignore Fix behavior of absolute paths in .dockerignore 2017-03-31 10:43:59 +02:00
fscache Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
remotecontext Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
builder.go LCOW: Rework after 33454 merged which refactored daemon/builder interface 2017-06-20 19:50:13 -07:00