moby--moby/builder
Doug Davis 08b7f30fcd Fix issue where build steps are duplicated in the output
This fixes an issue where the build output for the "Steps" would look like:
```
Step 1: RUN echo hi echo hi
```
instead of
```
Step 1: RUN echo hi
```

Also, I noticed that there were no checks to make sure invalid Dockerfile
cmd flags were caught on cmds that didn't use cmd flags at all. They would
have been caught on the cmds that had flags, but cmds that didn't bother
to add a new code for flags would have just ignored them.  So, I added
checks to each cmd to flag it.

Added testcases for issues.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-05-05 15:28:42 -07:00
..
command Some fixed for new LABEL stuff 2015-03-16 22:53:41 -07:00
parser Add support for Dockerfile CMD options 2015-04-28 05:28:46 -07:00
bflag.go Add support for Dockerfile CMD options 2015-04-28 05:28:46 -07:00
bflag_test.go Add support for Dockerfile CMD options 2015-04-28 05:28:46 -07:00
dispatchers.go Fix issue where build steps are duplicated in the output 2015-05-05 15:28:42 -07:00
evaluator.go Fix issue where build steps are duplicated in the output 2015-05-05 15:28:42 -07:00
internals.go Merge pull request #11844 from jbarbier/cgroup-parent-42 2015-05-05 14:46:47 -07:00
job.go Happy birthday Docker! cgroup-parent option for docker build. Thanks to Michael, Nathan and Jessie for their support! #42 2015-04-25 15:25:51 -04:00
shell_parser.go Add support for more advanced ${xxx:...} syntax 2015-04-01 08:11:15 -07:00
shell_parser_test.go Fix some escaping around env var processing 2015-03-20 20:09:00 -07:00
support.go Fix some escaping around env var processing 2015-03-20 20:09:00 -07:00
words Add support for more advanced ${xxx:...} syntax 2015-04-01 08:11:15 -07:00