Files
docker-cli/components/engine/pkg/archive
Sargun Dhillon e9c2f9fe77 Make image (layer) downloads faster by using pigz
The Golang built-in gzip library is serialized, and fairly slow
at decompressing. It also only decompresses on demand, versus
pipelining decompression.

This change switches to using the pigz external command
for gzip decompression, as opposed to using the built-in
golang one. This code is not vendored, but will be used
if it autodetected as part of the OS.

This also switches to using context, versus a manually
managed channel to manage cancellations, and synchronization.
There is a little bit of weirdness around manually having
to cancel in the error cases.

Signed-off-by: Sargun Dhillon <sargun@sargun.me>
Upstream-commit: fd35494a251a497c359f706f61f33e689e2af678
Component: engine
2018-01-16 10:49:18 -08:00
..
2017-10-24 15:39:34 -04:00
2017-12-18 17:41:53 +01:00
2017-10-24 15:39:34 -04:00
2017-10-24 15:39:34 -04:00
2017-08-24 15:08:31 -04:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2015-12-13 18:04:12 +02:00

This code provides helper functions for dealing with archive files.