forked from mirrors/nixpkgs
dockerTools: disable compression in tarsum.go
Previously, tarsum would compress the (discarded) tarball produced. That's a waste of CPU, and a waste of time.
This commit is contained in:
parent
23e9e33975
commit
b9284e445b
|
@ -9,7 +9,7 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
ts, err := tarsum.NewTarSum(os.Stdin, false, tarsum.Version1)
|
||||
ts, err := tarsum.NewTarSum(os.Stdin, true, tarsum.Version1)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
os.Exit(1)
|
||||
|
|
Loading…
Reference in a new issue