1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder
Daniel Nephin 9f738cc574 Cleanup all the mutate + defer revert of b.runConfig in the builder
Instead of mutating and reverting, just create a copy and pass the copy
around.

Add a unit test for builder dispatcher.run

Fix two test failures

Fix image history by adding a CreatedBy to commit options. Previously the
createdBy field was being created by modifying a reference to the runConfig that
was held from when the container was created.

Fix a test that expected a trailing slash. Previously the runConfig was being
modified by container create. Now that we're creating a copy of runConfig
instead of sharing a reference the runConfig retains the trailing slash.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-05-01 18:36:53 -04:00
..
dockerfile Cleanup all the mutate + defer revert of b.runConfig in the builder 2017-05-01 18:36:53 -04: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 Extract squash and tagging from the Dockerfile builder. 2017-05-01 12:07:32 -04:00
builder.go Extract squash and tagging from the Dockerfile builder. 2017-05-01 12:07:32 -04:00