1
0
mirror of https://github.com/rancher/os.git synced 2025-10-21 15:34:46 +00:00

RPI building scripts

This commit is contained in:
Darren Shepherd
2016-02-18 09:58:39 -07:00
parent ba5e4471b7
commit b2db201af9
4 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
FROM debian:jessie
ENV DAPPER_RUN_ARGS --device /dev/kvm
ENV DAPPER_OUTPUT dist
RUN apt-get update -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
libguestfs-tools curl zip linux-image-amd64 unzip
RUN mkdir -p /source/assets
RUN curl -fL http://downloads.hypriot.com/hypriot-rpi-20151115-132854.img.zip > /source/assets/hypriot.img.zip
RUN cd /source/assets && \
unzip hypriot.img.zip
RUN curl -fL https://releases.rancher.com/os/latest/rootfs_arm.tar.gz > /source/assets/rootfs_arm.tar.gz
WORKDIR /source
CMD ["./scripts/build.sh"]