mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
5592ee4d07
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
|
||
---|---|---|
.. | ||
dockerfile | ||
dockerignore | ||
builder.go | ||
context.go | ||
context_test.go | ||
context_unix.go | ||
context_windows.go | ||
dockerignore.go | ||
dockerignore_test.go | ||
git.go | ||
remote.go | ||
remote_test.go | ||
tarsum.go | ||
tarsum_test.go | ||
utils_test.go |