diff options
author | Magnus Ahltorp <map@kth.se> | 2015-03-04 22:48:40 +0100 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2015-03-04 22:48:40 +0100 |
commit | a706e79fa722f681320fe1b05824352b6b9a63fc (patch) | |
tree | 41907841f09f19d93adfab91eb314bb0789851f9 /packaging/docker/catlfish-dev | |
parent | f800e5fae8f9579328477b3bc3e939d9f4369d32 (diff) | |
parent | e0f11a58033d52c70bc76b4b5611cb88485d4653 (diff) |
Merge branch 'extsign'
Diffstat (limited to 'packaging/docker/catlfish-dev')
-rw-r--r-- | packaging/docker/catlfish-dev/Dockerfile | 25 | ||||
-rw-r--r-- | packaging/docker/catlfish-dev/supervisord.conf | 5 |
2 files changed, 30 insertions, 0 deletions
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/ diff --git a/packaging/docker/catlfish-dev/supervisord.conf b/packaging/docker/catlfish-dev/supervisord.conf new file mode 100644 index 0000000..c973bff --- /dev/null +++ b/packaging/docker/catlfish-dev/supervisord.conf @@ -0,0 +1,5 @@ +[supervisord] +nodaemon=true + +[program:catlfish] +command=/opt/catlfish/rel/bin/erl -config catlfish |