mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-05 04:39:54 +00:00
Limit zstd decoder memory
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
committed by
Brad Davidson
parent
ae5b93a264
commit
88dd601941
@@ -36,7 +36,7 @@ mkdir -p dist/artifacts
|
||||
)
|
||||
|
||||
tar cvf ./build/out/data.tar --exclude ./bin/hyperkube ./bin ./etc
|
||||
zstd -v -T0 -16 -f --long --rm ./build/out/data.tar -o ./build/out/data.tar.zst
|
||||
zstd -v -T0 -16 -f --long=25 --rm ./build/out/data.tar -o ./build/out/data.tar.zst
|
||||
HASH=$(sha256sum ./build/out/data.tar.zst | awk '{print $1}')
|
||||
|
||||
cp ./build/out/data.tar.zst ./build/data/${HASH}.tar.zst
|
||||
|
||||
Reference in New Issue
Block a user