moby--moby/image
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 Cleanup all the mutate + defer revert of b.runConfig in the builder 2017-05-01 18:36:53 -04:00
spec image/spec: tags are 128 characters 2017-04-24 15:23:34 -07:00
tarexport Use distribution reference 2017-02-07 11:08:37 -08:00
v1 *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
fs.go Wrap errors in digest package so they are consistent between platforms. 2017-03-08 11:48:46 -05:00
fs_test.go Remove pkg/testutil/assert in favor of testify 2017-04-14 12:03:21 -07:00
image.go Fixing a typo in spelling 2017-03-30 14:31:45 +05:30
image_test.go Remove pkg/testutil/assert in favor of testify 2017-04-14 12:03:21 -07:00
rootfs.go Windows: Skip layers+base images 2016-09-07 12:16:45 -07:00
store.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
store_test.go Remove pkg/testutil/assert in favor of testify 2017-04-14 12:03:21 -07:00