blob: 2c71968c0c8a9369ca8cb14fba85f5b237d72599 [file] [log] [blame]
FROM debian:sid-slim
ENV QEMU_VERSION="1:6.1+dfsg-5"
ENV DEBIAN_FRONTEND=noninteractive
ENV PKG_DEPS="\
ca-certificates \
curl \
ipxe-qemu \
ovmf \
qemu-efi-aarch64 \
qemu-efi-arm \
qemu-system-arm \
qemu-system-x86 \
qemu-utils \
"
RUN set -e ;\
apt update -q=2 ;\
apt dist-upgrade -q=2 --yes ;\
apt install -q=2 --yes --no-install-recommends ${PKG_DEPS} ;\
# Set default shell to bash
mkdir -p /usr/share/man/man1 ;\
echo 'dash dash/sh boolean false' | debconf-set-selections ;\
dpkg-reconfigure -p critical dash ;\
# Cleanup
apt clean ;\
rm -rf /var/lib/apt/lists/* /var/tmp/*
CMD ["/bin/bash"]