link /init so kernel will boot as initramfs

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2015-12-02 11:57:48 +00:00
parent 33056820a4
commit c01b1a7f3a

View File

@ -7,4 +7,6 @@ COPY motd hostname /etc/
RUN apk update && apk upgrade && apk add e2fsprogs docker RUN apk update && apk upgrade && apk add e2fsprogs docker
RUN ln -s /bin/busybox /init
CMD ["/bin/sh"] CMD ["/bin/sh"]