summaryrefslogtreecommitdiff
path: root/packaging/docker/catlfish-dev/Dockerfile
blob: cbfc2850f82f4e55058425d11d1ec607d8c399f8 (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
26
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/