feat(server): Apply GZIP compression to all image layers
This fixes #62
This commit is contained in:
parent
bf2718cebb
commit
0693e371d6
4 changed files with 15 additions and 9 deletions
|
|
@ -270,7 +270,7 @@ func prepareLayers(ctx context.Context, s *State, image *Image, result *ImageRes
|
|||
} else {
|
||||
lh := l.Hash()
|
||||
lw := func(w io.Writer) error {
|
||||
return tarStorePaths(&l, w)
|
||||
return packStorePaths(&l, w)
|
||||
}
|
||||
|
||||
entry, err := uploadHashLayer(ctx, s, lh, lw)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue