mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-03 18:46:21 +00:00
10 lines
466 B
Docker
10 lines
466 B
Docker
FROM justincormack/alpine-qemu
|
|
|
|
COPY alpine/initrd-arm.img .
|
|
COPY alpine/kernel/zImage .
|
|
COPY alpine/kernel/dtb .
|
|
|
|
RUN gzip -9 initrd-arm.img
|
|
|
|
ENTRYPOINT [ "qemu-system-arm", "-machine", "vexpress-a15", "-cpu", "cortex-a15", "-no-reboot", "-netdev", "user,id=eth0", "-device", "virtio-net-device,netdev=eth0", "-serial", "stdio", "-kernel", "zImage", "-initrd", "initrd-arm.img.gz", "-dtb", "dtb", "-m", "256", "-append", "console=ttyAMA0,38400n8", "-vnc", "none" ]
|