FROM resin/rpi-raspbian

RUN apt update

RUN apt install -y git python-dev

RUN git clone https://github.com/winlinvip/simple-rtmp-server

WORKDIR /simple-rtmp-server/trunk

RUN ./configure

RUN make

COPY origin.conf conf/origin.conf

COPY edge.conf conf/edge.conf

ENV TZ=Asia/Taipei