mirror of
https://github.com/rancher/os.git
synced 2025-09-13 13:39:53 +00:00
the os-installer base Dockerfile
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
14
scripts/installer/BaseDockerfile.amd64
Normal file
14
scripts/installer/BaseDockerfile.amd64
Normal 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"]
|
||||
|
Reference in New Issue
Block a user