add qcow2 and vmdk boot images

This commit is contained in:
Mikaël Cluseau
2025-06-12 11:53:08 +02:00
parent 1871eac7bb
commit 5c289c3153
4 changed files with 70 additions and 10 deletions

View File

@ -1,5 +1,5 @@
# ------------------------------------------------------------------------
from golang:1.22.2-bookworm as build
from golang:1.24.3-bookworm as build
run apt-get update && apt-get install -y git
@ -27,7 +27,7 @@ entrypoint ["/bin/dkl-local-server"]
env _uncache=1
run apt-get update \
&& yes |apt-get install -y genisoimage gdisk dosfstools util-linux udev binutils systemd \
grub2 grub-pc-bin grub-efi-amd64-bin ca-certificates curl openssh-client \
grub2 grub-pc-bin grub-efi-amd64-bin ca-certificates curl openssh-client qemu-utils \
&& apt-get clean
copy --from=build /src/dist/ /bin/