mirror of
https://github.com/rancher/os.git
synced 2025-09-17 15:40:47 +00:00
15 lines
430 B
Plaintext
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"]
|
||
|
|