mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 09:51:37 +00:00
11 lines
309 B
Docker
11 lines
309 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", "-kernel", "vmlinuz64", "-initrd", "initrd.img.gz", "-append", "earlyprintk=serial console=ttyS0", "-vnc", "none", "-nographic" ]
|