moby/builder
Dave Tucker 1076ab58ec builder: Make builtin arg pruning work with > 1 arg
The previous implementation would error out with "Unexpected EOF" which
was caused by an underlying "array index out-of-bounds" error.
The root cause was deleting items from the same array that was being
iterated over. The iteration was unaware that the array size had
changed, resulting in an error.

The new implementation builds a new array instead of mutating a copy of
the old one.

Fixes: #32744

Signed-off-by: Dave Tucker <dt@docker.com>
2017-04-26 10:24:58 +01:00
..
dockerfile builder: Make builtin arg pruning work with > 1 arg 2017-04-26 10:24:58 +01:00
dockerignore use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
remotecontext Fix relative path on windows for uuid paths 2017-03-23 15:12:19 -07:00
builder.go Add support for COPY from previous rootfs 2017-03-23 15:12:15 -07:00
dockerignore.go add defer file.Close to avoid potential fd leak 2016-08-10 08:36:09 +08:00
dockerignore_test.go Builder unit tests refactoring 2016-05-03 19:00:35 +02:00
git.go utils: move git functions to pkg/gitutils 2015-12-14 14:59:52 +01:00
remote.go Fixes work of inspectResponse in case of ContentLength=-1 2017-01-29 20:48:07 +02:00
remote_test.go use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
tarsum.go Clean up tmp files for interrupted docker build 2016-12-16 21:11:53 -08:00
tarsum_test.go use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
utils_test.go Move builder cli helper functions to own pkg 2016-12-26 18:53:22 -08:00