1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/distribution/xfer
Brian Goff 362369b4bb Adds ability to squash image after build
Allow built images to be squash to scratch.
Squashing does not destroy any images or layers, and preserves the
build cache.

Introduce a new CLI argument --squash to docker build
Introduce a new param to the build API endpoint `squash`

Once the build is complete, docker creates a new image loading the diffs
from each layer into a single new layer and references all the parent's
layers.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-11-01 13:41:59 -04:00
..
download.go Use describable interfaces 2016-06-06 17:49:34 -07:00
download_test.go Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
transfer.go Docker pull/push with max concurrency limits. 2016-05-11 19:44:54 -07:00
transfer_test.go Fix flaky test TestTransfer (take 2) 2016-03-28 18:27:29 -07:00
upload.go Docker pull/push with max concurrency limits. 2016-05-11 19:44:54 -07:00
upload_test.go all: remove some unused funcs and variables 2016-04-06 10:40:01 -07:00