summaryrefslogtreecommitdiff
path: root/packaging/docker/catlfish-dev/Dockerfile
blob: 8849734c7780dbf31c0250281160eb1e2b6b1cd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM erlang
RUN apt-get update
RUN apt-get install -qq \
    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/