Skip to content

Commit d83bec6

Browse files
committed
feat: add btrfs and squashfs tools to the xtask image
This is required to create a squashfs image or btrfs snapshot, which we then can just mount, instead of running through the whole import process.
1 parent 0f779a8 commit d83bec6

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

.github/scripts/Containerfile.xtask

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,27 @@ RUN cd unpack && \
1414

1515
RUN chmod a+x /unpack/xtask
1616

17-
FROM registry.access.redhat.com/ubi9/ubi:latest
17+
FROM docker.io/library/ubuntu:24.04
1818

1919
LABEL \
2020
org.opencontainers.image.description="Trustify - xtask binary" \
2121
org.opencontainers.image.source="https://github.com/guacsec/trustify"
2222

23-
RUN dnf install --nodocs -y zlib openssl krb5-libs libzstd lz4-libs libxml2 unzip xz
23+
RUN apt-get update && \
24+
apt-get install -y --no-install-recommends \
25+
curl \
26+
ca-certificates \
27+
zlib1g \
28+
openssl \
29+
libkrb5-3 \
30+
libzstd1 \
31+
liblz4-1 \
32+
libxml2 \
33+
unzip \
34+
xz-utils \
35+
squashfs-tools \
36+
btrfs-progs \
37+
&& rm -rf /var/lib/apt/lists/*
2438

2539
COPY --from=builder /unpack/xtask /usr/local/bin
2640

0 commit comments

Comments
 (0)