diff options
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 |