mirror of
https://github.com/rancher/os.git
synced 2025-06-25 14:31:33 +00:00
20 lines
770 B
Docker
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"]
|