ed2f5d1d85
Previous image created a new partially filled image.
This caused child images to lose their parent's layers.
Instead of creating a new object and trying to replace its fields, just
clone the original passed image and change its ID to the manifest
digest.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
cache | ||
spec | ||
tarexport | ||
v1 | ||
fs.go | ||
fs_test.go | ||
image.go | ||
image_test.go | ||
rootfs.go | ||
store.go | ||
store_test.go |