mirror of
https://github.com/rancher/os.git
synced 2025-07-10 05:13:03 +00:00
19 lines
565 B
Docker
19 lines
565 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 https://git.linaro.org/people/takahiro.akashi/kexec-tools.git && \
|
|
cd kexec-tools && git checkout kdump/for-14 && ./bootstrap && ./configure && make && make install
|
|
|
|
COPY ./scripts/installer /scripts
|
|
COPY ./build.conf /scripts/
|
|
|
|
COPY ./dist/artifacts/vmlinuz /dist/
|
|
COPY ./dist/artifacts/initrd /dist/
|
|
|
|
ENTRYPOINT ["/scripts/lay-down-os"]
|