mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-06 09:21:28 +00:00
link /init so kernel will boot as initramfs
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -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"]
|
||||||
|
Reference in New Issue
Block a user