Files
linuxkit/Dockerfile.qemu.armhf
Natanael Copa 0bb80957bc Move built kernel to arch specific subdir
We want be able to build kernels for different archs without that they
clash with each other so we but the generated files into an $arch subdir.

Signed-off-by: Natanael Copa <natanael.copa@docker.com>
2016-07-25 17:18:02 +02:00

10 lines
499 B
Docker

FROM justincormack/alpine-qemu
COPY alpine/initrd-arm.img .
COPY alpine/kernel/arm/zImage .
COPY alpine/kernel/dtb dtb
RUN gzip -9 initrd-arm.img
ENTRYPOINT [ "qemu-system-arm", "-machine", "vexpress-a15", "-cpu", "cortex-a15", "-no-reboot", "-netdev", "user,id=eth0", "-device", "virtio-net-device,netdev=eth0", "-serial", "stdio", "-kernel", "zImage", "-initrd", "initrd-arm.img.gz", "-dtb", "dtb/vexpress-v2p-ca15-tc1.dtb", "-m", "1024", "-append", "console=ttyAMA0,38400n8", "-vnc", "none" ]