mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-07 11:25:43 +00:00
use image with qemu in, so as not to build every time as it is slow
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
FROM alpine:3.3
|
||||
FROM justincormack/alpine-qemu
|
||||
|
||||
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" ]
|
||||
|
||||
Reference in New Issue
Block a user