1
0
mirror of https://github.com/rancher/os.git synced 2025-06-25 14:31:33 +00:00
os/scripts/images/raspberry-pi-hypriot/Dockerfile.dapper
2016-06-30 17:23:12 -07:00

20 lines
770 B
Docker

FROM debian:jessie
ENV DAPPER_RUN_ARGS --privileged
ENV DAPPER_OUTPUT dist
RUN apt-get update -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
ca-certificates curl dosfstools tree zip
RUN mkdir -p /source/assets
# RancherOS for ARM
RUN curl -fL https://releases.rancher.com/os/latest/rootfs_arm.tar.gz > /source/assets/rootfs_arm.tar.gz
# Hypriot Kernel 4.1.17+ and bootfiles for RPi2
RUN curl -fL http://downloads.hypriot.com/raspberrypi-bootloader_20160212-075712_armhf.deb > /source/assets/raspberrypi-bootloader_20160212-075712_armhf.deb
# Bootfiles to support Raspberry Pi 3 B
RUN curl -fL http://downloads.hypriot.com/rpi3-bootfiles.tar.gz > /source/assets/rpi3-bootfiles.tar.gz
WORKDIR /source
CMD ["./scripts/build.sh"]