contrib: Don't pass -z to tar in analyze-local-images
This commit is contained in:
parent
a6d85e166f
commit
8d071e28ff
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user