move kernel under rest of build and pull through aufs tools

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
Justin Cormack
2015-12-17 15:26:42 +00:00
parent 8a880a89e8
commit fca32a3b72
9 changed files with 15 additions and 12 deletions

View File

@@ -1,13 +0,0 @@
all: vmlinuz64 aufs-utils.tar
kernel: kernel_config Dockerfile
docker build -t mobykernel:build .
vmlinuz64: kernel
docker run mobykernel:build cat /linux/arch/x86_64/boot/bzImage > vmlinuz64
aufs-utils.tar: kernel
docker run mobykernel:build cat /aufs-utils.tar > aufs-utils.tar
clean:
rm -f vmlinuz64 aufs-utils.tar