1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
# Test coverage provided by this container:
# - arm64
# - default hostonly
# - network-legacy
# - mkosi-initrd
# - hmaccalc (fido)
# - rdma out of tree dracut module
# - dbus-broker
# - network: network-legacy, network-manager
FROM registry.opensuse.org/opensuse/tumbleweed:latest
# Install needed packages for the dracut CI container
RUN zypper --non-interactive install --no-recommends \
asciidoc \
bash-completion \
btrfsprogs \
cargo \
cryptsetup \
dhcp-client \
dhcp-server \
distribution-gpg-keys \
e2fsprogs \
erofs-utils \
gcc \
git \
hmaccalc \
iproute2 \
iputils \
iscsiuio \
kbd \
kernel-vanilla \
libkmod-devel \
lvm2 \
make \
mdadm \
mkosi-initrd \
nbd \
NetworkManager \
nfs-kernel-server \
open-iscsi \
parted \
pciutils \
python3-pefile \
qemu \
squashfs \
swtpm \
systemd-boot \
systemd-experimental \
systemd-portable \
tgt \
tpm2.0-tools \
util-linux-systemd \
xorriso \
&& zypper --non-interactive dist-upgrade --no-recommends
# workaround for openSUSE on arm64
RUN \
KVERSION="$(cd /lib/modules && ls -1 | tail -1)" \
&& if [ "$(arch)"="aarch64" ] && [ -e /usr/lib/modules/"$KVERSION"/Image ]; then ln -sf /usr/lib/modules/"$KVERSION"/Image /usr/lib/modules/"$KVERSION"/vmlinuz; fi
|