1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00

Bring back installer

This commit is contained in:
Darren Shepherd
2016-06-06 23:00:15 -07:00
parent ac0f317bf8
commit e1d29fbab7
5 changed files with 52 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
FROM debian:jessie
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y grub2 parted kexec-tools
COPY conf lay-down-os seed-data set-disk-partitions /scripts/installer/
COPY ./build/build.conf /scripts/
COPY ./build/vmlinuz /dist/vmlinuz
COPY ./build/initrd /dist/initrd
ENTRYPOINT ["/scripts/lay-down-os"]

View File

@@ -0,0 +1,17 @@
FROM aarch64/debian:jessie
ENV DEBIAN_FRONTEND noninteractive
ENV ARCH arm
RUN apt-get update && apt-get install -y parted git gcc make autoconf
RUN mkdir -p /usr/local/src && \
cd /usr/local/src && \
git clone https://git.linaro.org/people/takahiro.akashi/kexec-tools.git && \
cd kexec-tools && git checkout kdump/for-14 && ./bootstrap && ./configure && make && make install
COPY conf lay-down-os seed-data set-disk-partitions /scripts/installer/
COPY ./build/build.conf /scripts/
COPY ./build/vmlinuz /dist/vmlinuz
COPY ./build/initrd /dist/initrd
ENTRYPOINT ["/scripts/lay-down-os"]