Merge pull request #25 from fatalbanana/patch-1

Don't pass -z to tar
This commit is contained in:
Quentin Machu 2015-11-23 09:44:08 -05:00
commit fdbe1ebca8

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 {