Skip to content

Commit

Permalink
Switch to zstd for compression
Browse files Browse the repository at this point in the history
Change-type: minor
Signed-off-by: Kyle Harding <kyle@balena.io>
  • Loading branch information
klutchell committed Apr 24, 2024
1 parent d448f16 commit c14a1af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ RUN apt-get update \
libelf-dev \
libncurses-dev \
libssl-dev \
lz4 \
vim-tiny \
zstd \
&& rm -rf /var/lib/apt/lists/*

ARG KERNEL_BRANCH=5.10
Expand All @@ -38,10 +38,10 @@ RUN ln -sf "microvm-kernel-$(uname -m)-${KERNEL_BRANCH}.config" .config
###############################################

FROM linux.git AS vmlinux-arm64
RUN make Image && lz4 -9 ./arch/arm64/boot/Image ./vmlinux.bin.lz4
RUN make Image && zstd -9 ./arch/arm64/boot/Image ./vmlinux.bin.zst

FROM linux.git AS vmlinux-amd64
RUN make vmlinux && lz4 -9 ./vmlinux ./vmlinux.bin.lz4
RUN make vmlinux && zstd -9 ./vmlinux ./vmlinux.bin.zst

# hadolint ignore=DL3006
FROM vmlinux-${TARGETARCH} AS vmlinux
Expand Down

0 comments on commit c14a1af

Please sign in to comment.