From 75043eba64190a9e93b292d89eafbcf8bf15a7a3 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Tue, 6 Feb 2024 16:01:59 -0600 Subject: [PATCH] Install lz4 LZ4 is *significantly* faster than XZ at compressing disk images, with a similar compression ratio. For example, compressing `kitchen.img` with `xz` took approximately 16 minutes and reduced the image to 1.3 GB, whereas `lz4` took kabout 15 seconds and reduced the image to 1.9 GB. --- Containerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Containerfile b/Containerfile index e3d1494..46a9fb5 100644 --- a/Containerfile +++ b/Containerfile @@ -4,4 +4,5 @@ RUN --mount=type=cache,target=/var/cache \ microdnf install -y \ --setopt=install_weak_deps=0 \ guestfs-tools \ + lz4 \ && :