1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/distribution
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
..
fixtures/validate_manifest Add distribution package 2015-11-24 09:40:24 -08:00
metadata Allow to mock V2MetadataService in unit tests 2016-09-29 14:16:00 +02:00
xfer Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
errors.go swarm/controller: allow cancellation to propagate 2016-07-25 18:31:24 -07:00
pull.go Generalize content addressable and reference storage 2016-09-15 18:08:19 -07:00
pull_v1.go Generalize content addressable and reference storage 2016-09-15 18:08:19 -07:00
pull_v2.go Merge pull request #26564 from miminar/prevent-blob-uploads 2016-10-01 12:53:10 +02:00
pull_v2_test.go In error, the first letter is low-case letter 2016-09-23 17:30:13 +08:00
pull_v2_unix.go Removing old custom RootFS behavior on Windows. 2016-07-29 14:15:59 -07:00
pull_v2_windows.go Windows: Add debug output to foreign layer pull 2016-09-26 08:56:34 -07:00
push.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
push_v1.go Generalize content addressable and reference storage 2016-09-15 18:08:19 -07:00
push_v2.go Merge pull request #26564 from miminar/prevent-blob-uploads 2016-10-01 12:53:10 +02:00
push_v2_test.go Different number of retries for layers of different sizes 2016-09-29 14:16:01 +02:00
registry.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
registry_unit_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00