mirror of
https://github.com/rancher/os.git
synced 2025-08-22 08:35:38 +00:00
18 lines
516 B
Docker
Executable File
18 lines
516 B
Docker
Executable File
FROM rancher/os-alpineconsole
|
|
# TODO: redo as cross platform
|
|
|
|
# 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/
|
|
|
|
ARG VERSION
|
|
ARG KERNEL_VERSION
|
|
ENV VERSION=${VERSION}
|
|
ENV KERNEL_VERSION=${KERNEL_VERSION}
|
|
|
|
# TODO: separate out the 3 elements below - so we can mix and match updates
|
|
COPY ./build/vmlinuz-${KERNEL_VERSION} ./build/initrd ./build/ros /dist/
|
|
ENTRYPOINT ["/scripts/ros"]
|