Files
tools/Dockerfile
Damiano Donati 9a2d41569f use newest arm64 UEFI and amd64 OVMF CODE/VARS firmware (#81)
it updates the arm64 UEFI firmware to a version newer than 2023.11,
as running on qemu >= 9.0 can trigger a bug in the older versions of the EDK2 guest firmware,
causing Synchronous Exception and potential bootloops.

While doing so it updates the amd64 OVMF firmware, which now has removed
support for the 2M firmware and only supports the 4M one.
The 4M OVMF firmware comes with split CODE and VARS images, which need
to be loaded as pflash drives in the qemu vm, rather than via the -bios
flag.

For more details on the migration see: https://salsa.debian.org/qemu-team/edk2/-/blob/debian/latest/debian/howto-2M-to-4M-migration.md

Fixes https://github.com/gokrazy/tools/issues/80
2025-01-28 19:00:02 +01:00

8 lines
279 B
Docker

# pinned for reproducibility purposes
# to get the most recent testing goodies
# update the tag to the most recent tag
# https://hub.docker.com/_/debian/tags?name=testing&ordering=-name
FROM debian:testing-20250113
RUN apt-get update && apt-get install -y qemu-efi-aarch64 ovmf