1
0
mirror of https://github.com/rancher/os.git synced 2025-08-22 08:35:38 +00:00
os/scripts/installer/Dockerfile.amd64
Sven Dowideit cc78ff7bd1 make the iso run also get the ssh and cloud-init so testing the installer is easier
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:16 +00:00

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