clean up override files, add inittab

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2015-12-02 12:50:06 +00:00
parent c01b1a7f3a
commit bc24228bc3
5 changed files with 25 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
all: initrd.img
initrd.img: Dockerfile hostname repositories motd
initrd.img: Dockerfile repositories etc/hostname etc/motd etc/inittab
rm -f initrd.img
docker build -t moby:test .
docker run -i -v $(PWD):/export moby:test /export/mkinitrd.sh