mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-13 22:36:02 +00:00
11 lines
335 B
Docker
11 lines
335 B
Docker
FROM alpine:3.3
|
|
|
|
COPY alpine/initrd.img .
|
|
COPY alpine/kernel/vmlinuz64 .
|
|
|
|
RUN apk update && apk add qemu-system-x86_64
|
|
|
|
RUN gzip -9 initrd.img
|
|
|
|
ENTRYPOINT [ "qemu-system-x86_64", "-serial", "stdio", "-kernel", "vmlinuz64", "-initrd", "initrd.img.gz", "-m", "256", "-append", "earlyprintk=serial console=ttyS0 noapic", "-vnc", "none" ]
|