mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-24 11:25:40 +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:
parent
86bf66dc25
commit
b49fbfd1cf
@ -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" ]
|
||||
|
@ -1,11 +1,9 @@
|
||||
FROM ubuntu:15.10
|
||||
FROM justincormack/alpine-qemu
|
||||
|
||||
COPY alpine/initrd-arm.img .
|
||||
COPY alpine/kernel/zImage .
|
||||
COPY alpine/kernel/dtb .
|
||||
|
||||
RUN apt-get update && apt-get install -y qemu-system-arm
|
||||
|
||||
RUN gzip -9 initrd-arm.img
|
||||
|
||||
ENTRYPOINT [ "qemu-system-arm", "-machine", "vexpress-a15", "-cpu", "cortex-a15", "-no-reboot", "-serial", "stdio", "-kernel", "zImage", "-initrd", "initrd-arm.img.gz", "-dtb", "dtb", "-m", "256", "-append", "console=ttyAMA0,38400n8", "-vnc", "none" ]
|
||||
|
Loading…
Reference in New Issue
Block a user