# Test coverage provided by this container:
-# - default hostonly
# - musl (instead of glibc)
# - openrc (instead of systemd)
# - eudev (instead of systemd-udev)
# - ntfs-3g (not enabled with linux-virt)
# - erofs-utils (not enabled with linux-virt)
# - multipath-tools (does not work well)
-# - ovmf (systemd-boot-efistub, UEFI, UKI is not available)
# - kernel-install is not available
ARG DISTRIBUTION=alpine
FROM docker.io/${DISTRIBUTION}
-# export ARG
+# export
ARG DISTRIBUTION
+ARG TARGETARCH
# Use dracut-tests package to install dependencies for test suite
RUN apk add --no-cache \
build-base \
cargo \
dnsmasq \
- dracut-tests
+ dracut-tests \
+ efistub \
+ ukify
+
+RUN \
+if [ "${TARGETARCH}" == "amd64" ]; then \
+ apk add --no-cache \
+ ovmf \
+; fi