The installed packaged dracut version from a distributions can
interfere with testing latest dracut from source, which is the
primary goal of these containers.
shfmt \
parted \
ntfsprogs \
- && dnf -y update && dnf clean all
+ && dnf -y remove dracut && dnf -y update && dnf clean all
# Set default command
CMD ["/usr/bin/bash"]
sudo kernel dhcp-client qemu-kvm /usr/bin/qemu-system-$(uname -m) e2fsprogs \
tcpdump iproute iputils kbd NetworkManager btrfsprogs tgt dbus-broker \
iscsiuio open-iscsi which ShellCheck procps pigz parted squashfs ntfsprogs \
- && dnf -y update && dnf clean all
+ && dnf -y remove dracut && dnf -y update && dnf clean all
RUN shfmt_version=3.2.4; wget "https://github.com/mvdan/sh/releases/download/v${shfmt_version}/shfmt_v${shfmt_version}_linux_amd64" -O /usr/local/bin/shfmt \
&& chmod +x /usr/local/bin/shfmt