FROM docker.io/debian:latest # Install needed packages for the dracut CI container # Install dracut as a linux-initramfs-tool provider so that the default initramfs-tool package does not get installed # Uninstall initramfs-tools-core as a workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994492 RUN apt-get update -y -qq && apt-get upgrade -y -qq && apt-get install -y -qq --no-install-recommends dracut && \ DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends -o Dpkg::Use-Pty=0 \ asciidoc \ astyle \ bluez \ btrfs-progs \ busybox-static \ bzip2 \ ca-certificates \ cargo \ console-setup \ cpio \ cryptsetup \ curl \ dmraid \ docbook \ docbook-xml \ docbook-xsl \ erofs-utils \ fdisk \ g++ \ gawk \ git \ iputils-arping \ iputils-ping \ isc-dhcp-client \ isc-dhcp-server \ iscsiuio \ kmod \ less \ libdmraid-dev \ libkmod-dev \ linux-image-generic \ lvm2 \ make \ mdadm \ multipath-tools \ nbd-client \ nbd-server \ network-manager \ nfs-kernel-server \ ntfs-3g \ open-iscsi \ ovmf \ parted \ pigz \ pkg-config \ procps \ qemu-kvm \ rng-tools5 \ shellcheck \ sbsigntool \ squashfs-tools \ strace \ systemd-boot-efi \ systemd-coredump \ tcpdump \ tgt \ thin-provisioning-tools \ tpm2-tools \ vim \ wget \ && apt-get clean && dpkg -P --force-depends dracut dracut-core initramfs-tools-core