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:
Justin Cormack
2016-01-14 15:43:43 +00:00
parent 86bf66dc25
commit b49fbfd1cf
2 changed files with 2 additions and 6 deletions

View File

@@ -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" ]