From 307071e1b0d536abbec277764b427d145d4f42b7 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 24 Feb 2015 19:26:21 +0100 Subject: Add packaging and examples. --- packaging/docker/catlfish-dev/Dockerfile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 packaging/docker/catlfish-dev/Dockerfile (limited to 'packaging/docker/catlfish-dev/Dockerfile') diff --git a/packaging/docker/catlfish-dev/Dockerfile b/packaging/docker/catlfish-dev/Dockerfile new file mode 100644 index 0000000..0326aea --- /dev/null +++ b/packaging/docker/catlfish-dev/Dockerfile @@ -0,0 +1,25 @@ +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/ -- cgit v1.1