1
0
mirror of https://github.com/rancher/os.git synced 2025-06-23 05:27:03 +00:00
os/scripts/installer/Dockerfile.arm64
Sven Dowideit a4cf5b47b2 Changes needed to get the arm and arm64 builds working
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-25 10:10:21 +10:00

20 lines
581 B
Docker

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 -b kdump/v0.14 https://git.linaro.org/people/takahiro.akashi/kexec-tools.git && \
cd kexec-tools && ./bootstrap && ./configure && make && make install
COPY conf lay-down-os seed-data set-disk-partitions /scripts/
COPY ./build/vmlinuz /dist/vmlinuz
COPY ./build/initrd /dist/initrd
ARG VERSION
ENV VERSION=${VERSION}
ENTRYPOINT ["/scripts/lay-down-os"]