mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-02 18:51:40 +00:00
- run test suite under containerd - in future this should be converted to Go not shell see #860 - test suite is now in its own initrd, can be run on any platform not just qemu Signed-off-by: Justin Cormack <justin.cormack@docker.com>
10 lines
524 B
Docker
10 lines
524 B
Docker
# Tag: 804b2c40d078287c40aeb9166e475e843544e597
|
|
FROM mobylinux/alpine-qemu@sha256:aaecc961a62b14ee0ecd3a4fe792af5232637f0a49f7d0f90b87acaeb6f3fa4a
|
|
|
|
COPY alpine/initrd-test.img initrd.img
|
|
COPY alpine/kernel/x86_64/vmlinuz64 .
|
|
|
|
RUN qemu-img create -f raw disk.img 256M
|
|
|
|
ENTRYPOINT [ "qemu-system-x86_64", "-drive", "file=disk.img,format=raw", "-device", "virtio-rng-pci", "-serial", "stdio", "-kernel", "vmlinuz64", "-initrd", "initrd.img", "-m", "1024", "-append", "earlyprintk=serial console=ttyS0 noapic", "-vnc", "none" ]
|