contrib: Don't pass -z to tar in analyze-local-images

This commit is contained in:
Andrew Lewis 2015-11-23 16:01:58 +02:00
parent a6d85e166f
commit 8d071e28ff

View File

@ -126,7 +126,7 @@ func save(imageName string) (string, error) {
var stderr bytes.Buffer var stderr bytes.Buffer
save := exec.Command("docker", "save", imageName) save := exec.Command("docker", "save", imageName)
save.Stderr = &stderr save.Stderr = &stderr
extract := exec.Command("tar", "xzf", "-", "-C"+path) extract := exec.Command("tar", "xf", "-", "-C"+path)
extract.Stderr = &stderr extract.Stderr = &stderr
pipe, err := extract.StdinPipe() pipe, err := extract.StdinPipe()
if err != nil { if err != nil {