# Test coverage provided by this container:
# - ntfs-3g
# - mkinitcpio
# - sbsigntools
# - qrencode (systemd-bsod)
# - rdma out of tree dracut module
# - both dbus-daemon and dbus-broker
# - dmraid (not activly maintained)
# - network: network-manager, systemd-networkd

# Not installed
# - busybox (no need, tested elsewhere)
# - cifs-utils (no need, tested elsewhere)
# - openssh (no need, tested elsewhere)
# - rng-tools (does not start, https://github.com/dracut-ng/dracut-ng/pull/290#issuecomment-2138184351)

FROM docker.io/archlinux

# prefer running tests with btrfs
ENV TEST_FSTYPE=btrfs

RUN pacman --noconfirm -Syu \
    asciidoctor \
    bluez \
    btrfs-progs \
    cargo \
    cpio \
    dhcp \
    dmraid \
    dnsmasq \
    dracut \
    elfutils \
    erofs-utils \
    gcc \
    jq \
    libfido2 \
    linux \
    lvm2 \
    make \
    mdadm \
    mkinitcpio \
    multipath-tools \
    nbd \
    networkmanager \
    nfsidmap \
    nfs-utils \
    ntfs-3g \
    nvme-cli \
    open-iscsi \
    parted \
    pciutils \
    pkgconf \
    plymouth \
    qemu \
    qrencode \
    sbsigntools \
    squashfs-tools \
    swtpm \
    systemd-libs \
    systemd-ukify \
    tgt \
    tpm2-tools \
    xorriso \
    && yes | pacman -Scc
