moby/builder/dockerfile/parser
Thomas Leonard 5592ee4d07 Fix exec form of HEALTHCHECK CMD
We attached the JSON flag to the wrong AST node, causing Docker to treat
the exec form ["binary", "arg"] as if the shell form "binary arg" had
been used. This failed if "ls" was not present.

Added a test to detect this.

Fixes #26174

Signed-off-by: Thomas Leonard <thomas.leonard@docker.com>
(cherry picked from commit e95b6b51da)
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-09-26 19:35:24 -07:00
..
dumper Move directive out of globals 2016-07-27 14:51:42 -07:00
testfile-line Support platform file paths through escape 2016-05-20 20:29:59 -07:00
testfiles Healthcheck: set default retries to 3 2016-06-03 13:28:08 +02:00
testfiles-negative Move builder files to builder/dockerfile 2015-10-05 18:26:47 -04:00
json_test.go Move directive out of globals 2016-07-27 14:51:42 -07:00
line_parsers.go Fix exec form of HEALTHCHECK CMD 2016-09-26 19:35:24 -07:00
parser.go Move directive out of globals 2016-07-27 14:51:42 -07:00
parser_test.go Move directive out of globals 2016-07-27 14:51:42 -07:00
utils.go Move directive out of globals 2016-07-27 14:51:42 -07:00