FROM erlang RUN apt-get update RUN echo 'debconf debconf/frontend select noninteractive' | debconf-set-selections RUN apt-get install -y -q \ gcc \ git \ make WORKDIR /opt RUN git clone -b v2.12.2 https://github.com/mochi/mochiweb RUN make -C mochiweb RUN git clone -b 2.1.1 https://github.com/basho/lager RUN make -C lager RUN git clone -b 1.1.0 https://github.com/benoitc/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/