moby/image/cache
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
..
cache.go image/cache: fix isValidParent logic 2017-02-21 19:32:04 +01:00
compare.go Cleanup all the mutate + defer revert of b.runConfig in the builder 2017-05-01 18:36:53 -04:00
compare_test.go Extract the daemon image cache to its own package 2017-01-03 19:19:27 +01:00