rootfs: Add xz as a dep

As we'll be untarring the agent tarball (and any other component that
may be part of the rootfs) into the rootfs, we have to have xz
installed.

For debian and ubuntu the package is called xz-utils; for centos,
alpine and cbl-mariner the package is called xz.

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2024-01-25 11:56:08 +01:00
parent 8307718842
commit f23451de01
No known key found for this signature in database
GPG Key ID: EE926C2BDACC177B
5 changed files with 10 additions and 5 deletions

View File

@ -25,6 +25,7 @@ RUN apk update && apk add --no-cache \
musl \
musl-dev \
protoc \
tar
tar \
xz
# aarch64 requires this name -- link for all
RUN ln -s /usr/bin/gcc "/usr/bin/$(uname -m)-linux-musl-gcc"

View File

@ -10,6 +10,7 @@ RUN tdnf -y install \
build-essential \
dnf \
git \
tar
tar \
xz
@INSTALL_RUST@

View File

@ -13,6 +13,7 @@ RUN dnf -y update && \
file \
g++ \
git \
protobuf-compiler
protobuf-compiler \
xz
@INSTALL_RUST@

View File

@ -32,7 +32,8 @@ RUN apt-get update && apt-get --no-install-recommends install -y \
systemd \
tar \
vim \
wget
wget \
xz-utils
# aarch64 requires this name -- link for all
RUN ln -s /usr/bin/musl-gcc "/usr/bin/$(uname -m)-linux-musl-gcc"

View File

@ -27,7 +27,8 @@ RUN apt-get update && \
makedev \
multistrap \
musl-tools \
protobuf-compiler
protobuf-compiler \
xz-utils
# aarch64 requires this name -- link for all
RUN ln -s /usr/bin/musl-gcc "/usr/bin/$(uname -m)-linux-musl-gcc"