mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-27 11:01:05 +00:00
10 lines
510 B
Docker
10 lines
510 B
Docker
# Tag: 804b2c40d078287c40aeb9166e475e843544e597
|
|
FROM mobylinux/alpine-qemu@sha256:aaecc961a62b14ee0ecd3a4fe792af5232637f0a49f7d0f90b87acaeb6f3fa4a
|
|
|
|
COPY alpine/initrd.img .
|
|
COPY alpine/kernel/x86_64/vmlinuz64 .
|
|
|
|
RUN qemu-img create -f raw disk.img 256M
|
|
|
|
ENTRYPOINT [ "qemu-system-x86_64", "-drive", "file=disk.img,format=raw", "-device", "virtio-rng-pci", "-serial", "stdio", "-kernel", "vmlinuz64", "-initrd", "initrd.img", "-m", "2048", "-append", "earlyprintk=serial console=ttyS0 noapic", "-vnc", "none" ]
|