1
0
mirror of https://github.com/rancher/os.git synced 2025-09-17 07:30:42 +00:00
Files
os/scripts/installer/BaseDockerfile.amd64
Sven Dowideit 6503928fbf the os-installer base Dockerfile
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:18 +00:00

15 lines
430 B
Plaintext

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"]