1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/layer
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
..
empty.go Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
empty_test.go
filestore.go Update layer store to sync transaction files before committing 2016-08-09 11:55:17 -07:00
filestore_test.go
layer.go Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
layer_store.go pkg/archive: remove unnecessary Archive and Reader type 2016-10-20 19:31:24 -07:00
layer_store_windows.go Use describable interfaces 2016-06-06 17:49:34 -07:00
layer_test.go Make graphdrivers work with pluginv2. 2016-09-20 08:49:48 -07:00
layer_unix.go Use describable interfaces 2016-06-06 17:49:34 -07:00
layer_unix_test.go
layer_windows.go Use describable interfaces 2016-06-06 17:49:34 -07:00
migration.go
migration_test.go pkg/archive: remove unnecessary Archive and Reader type 2016-10-20 19:31:24 -07:00
mount_test.go
mounted_layer.go Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
ro_layer.go Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
ro_layer_windows.go Use describable interfaces 2016-06-06 17:49:34 -07:00