1
0
mirror of https://github.com/rancher/os.git synced 2025-06-28 07:46:49 +00:00
os/scripts/images/raspberry-pi-hypriot/Dockerfile.dapper

20 lines
770 B
Docker
Raw Normal View History

2016-02-18 16:58:39 +00:00
FROM debian:jessie
ENV DAPPER_RUN_ARGS --privileged
2016-02-18 16:58:39 +00:00
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
2016-02-18 16:58:39 +00:00
RUN mkdir -p /source/assets
# RancherOS for ARM
2016-02-18 16:58:39 +00:00
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
2016-02-18 16:58:39 +00:00
WORKDIR /source
CMD ["./scripts/build.sh"]