1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder/dockerfile/parser
Thomas Leonard e95b6b51da 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>
2016-08-31 17:50:12 +01:00
..
dumper add defer file.Close to avoid potential fd leak 2016-08-10 08:36:09 +08:00
testfile-line Support platform file paths through escape 2016-05-20 20:29:59 -07:00
testfiles Dockerfile's comments for "Run the test suite" are out of date because there is no 'test' in hack/make directory. 2016-07-04 22:43:53 +08: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-26 10:35:33 -07:00
line_parsers.go Fix exec form of HEALTHCHECK CMD 2016-08-31 17:50:12 +01:00
parser.go Move directive out of globals 2016-07-26 10:35:33 -07:00
parser_test.go add defer file.Close to avoid potential fd leak 2016-08-10 08:36:09 +08:00
utils.go Move directive out of globals 2016-07-26 10:35:33 -07:00