From b4f2d92bd6182947fe4bd20654187121692d7ace Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Mon, 14 Nov 2016 11:20:09 +0000 Subject: [PATCH] Docker 1.13 needs more disk space Swarm mode now `fallocate`s a whole lot of space, so give it more so test passes. Signed-off-by: Justin Cormack --- Dockerfile.qemu | 2 +- Dockerfile.test | 2 +- hyperkit.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.qemu b/Dockerfile.qemu index 1d36f6a9f..944903d83 100644 --- a/Dockerfile.qemu +++ b/Dockerfile.qemu @@ -3,6 +3,6 @@ FROM mobylinux/alpine-qemu:804b2c40d078287c40aeb9166e475e843544e597 COPY alpine/initrd.img . COPY alpine/kernel/x86_64/vmlinuz64 . -RUN qemu-img create -f raw disk.img 100M +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", "2048", "-append", "earlyprintk=serial console=ttyS0 noapic", "-vnc", "none" ] diff --git a/Dockerfile.test b/Dockerfile.test index 58463ef8c..8c8c6e23a 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -3,6 +3,6 @@ FROM mobylinux/alpine-qemu:804b2c40d078287c40aeb9166e475e843544e597 COPY alpine/initrd.img . COPY alpine/kernel/x86_64/vmlinuz64 . -RUN qemu-img create -f raw disk.img 100M +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 mobyplatform=test", "-vnc", "none" ] diff --git a/hyperkit.sh b/hyperkit.sh index d63450a50..c69407042 100755 --- a/hyperkit.sh +++ b/hyperkit.sh @@ -6,7 +6,7 @@ KERNEL="alpine/kernel/x86_64/vmlinuz64" INITRD="alpine/initrd.img" CMDLINE="earlyprintk=serial console=ttyS0" -[ -f disk.img ] || dd if=/dev/zero of=disk.img bs=1m count=100 +[ -f disk.img ] || dd if=/dev/zero of=disk.img bs=1m count=256 MEM="-m 1G" SMP="-c 1"