mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-08 02:37:14 +00:00
11 lines
315 B
Docker
11 lines
315 B
Docker
FROM debian:unstable
|
|
|
|
COPY alpine/initrd.img .
|
|
COPY alpine/kernel/vmlinuz64 .
|
|
|
|
RUN apt-get update && apt-get -y install qemu
|
|
|
|
RUN gzip -9 initrd.img
|
|
|
|
ENTRYPOINT [ "qemu-system-x86_64", "-kernel", "vmlinuz64", "-initrd", "initrd.img.gz", "-append", "earlyprintk=serial console=ttyS0", "-vnc", "none", "-nographic" ]
|