FROM erlang RUN apt-get update RUN apt-get install -qq \ gcc \ git \ make WORKDIR /opt RUN git clone -b v2.9.2 https://github.com/mochi/mochiweb RUN make -C mochiweb RUN git clone -b 2.1.0 https://github.com/basho/lager RUN make -C lager RUN git clone -b 1.0.6-ndn-3 https://github.com/NORDUnet/hackney.git RUN make -C hackney REBAR=../lager/rebar RUN git clone https://git.nordu.net/plop.git RUN make -C plop RUN git clone https://git.nordu.net/catlfish.git RUN make -C catlfish all release ADD supervisord.conf /etc/supervisor/