From c01b1a7f3a550d350dfcc3ae18901458e8efb6e8 Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Wed, 2 Dec 2015 11:57:48 +0000 Subject: [PATCH] link /init so kernel will boot as initramfs Signed-off-by: Justin Cormack --- alpine/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 9b0968666..58b9ad271 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -7,4 +7,6 @@ COPY motd hostname /etc/ RUN apk update && apk upgrade && apk add e2fsprogs docker +RUN ln -s /bin/busybox /init + CMD ["/bin/sh"]