1
0
mirror of https://github.com/rancher/os.git synced 2025-09-13 05:33:34 +00:00

the os-installer base Dockerfile

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2016-12-09 08:11:13 +10:00
parent d90217ab06
commit 6503928fbf

View File

@@ -0,0 +1,14 @@
FROM alpine
# TODO: redo as cross platform, and without git etc :)
# not installed atm udev, grub2, kexe-toos
# parted: partprobe, e2fsprogs: mkfs.ext4, syslinux: extlinux&syslinux
RUN apk --no-cache add syslinux parted e2fsprogs
COPY conf /scripts/
#COPY ./build/vmlinuz-${KERNEL_VERSION} ./build/initrd ./build/ros /dist/
RUN ln -s /bootiso/boot/ /dist \
&& ln -s /host/usr/bin/ros /scripts/
ENTRYPOINT ["/scripts/ros"]