redo mkinitrd.sh to not use volumes

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
Justin Cormack
2015-12-08 14:48:27 +00:00
parent f3f60f724e
commit 4a5528a0cc
3 changed files with 6 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ ETCFILES+=etc/init.d/chronyd
initrd.img: Dockerfile mkinitrd.sh repositories $(ETCFILES)
rm -f initrd.img
docker build -t moby:test .
docker run -i -v $(PWD):/export moby:test /export/mkinitrd.sh
docker run -i moby:test /bin/mkinitrd.sh > $@
clean:
rm -f initrd.img