Skip to content

Commit

Permalink
Merge pull request #1116 from imeoer/nydusify-allow-pigz
Browse files Browse the repository at this point in the history
nydusify: enable pigz by default
  • Loading branch information
jiangliu authored Feb 28, 2023
2 parents 780b12f + 5fbc3a1 commit a2aeade
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions contrib/nydusify/cmd/nydusify.go
Original file line number Diff line number Diff line change
Expand Up @@ -863,11 +863,6 @@ func main() {
},
}

// With linux/arm64 platform, containerd/compression prioritizes `unpigz`
// to decompress tar.gz file, which may generate corrupted data somehow.
// Keep the same behavior with x86_64 platform by disabling pigz.
os.Setenv("CONTAINERD_DISABLE_PIGZ", "1")

if !utils.IsSupportedArch(runtime.GOARCH) {
logrus.Fatal("Nydusify can only work under architecture 'amd64' and 'arm64'")
}
Expand Down

0 comments on commit a2aeade

Please sign in to comment.