2016-07-06 19:51:34 +00:00
|
|
|
FROM ubuntu:14.04
|
|
|
|
MAINTAINER Gregory Eremin <g@erem.in>
|
|
|
|
LABEL app="brubeck"
|
|
|
|
LABEL github="https://github.com/github/brubeck"
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
2016-07-07 11:04:38 +00:00
|
|
|
RUN apt-get update && apt-get -y upgrade
|
|
|
|
RUN apt-get install -y make git libjansson-dev libssl-dev libmicrohttpd-dev
|
2016-07-06 19:51:34 +00:00
|
|
|
|
|
|
|
RUN mkdir /build
|
|
|
|
RUN cd /build && git clone https://github.com/github/brubeck.git
|
|
|
|
WORKDIR /build/brubeck
|
2016-07-06 21:25:41 +00:00
|
|
|
RUN git checkout 5d139a44206813640151cf0af17d32ee9ac41a60
|
2016-07-06 19:51:34 +00:00
|
|
|
RUN ./script/bootstrap
|
|
|
|
|
|
|
|
COPY configs/brubeck.json /etc/brubeck.json
|
2016-07-07 19:18:16 +00:00
|
|
|
EXPOSE 8090 8126 9126
|
2016-07-06 19:51:34 +00:00
|
|
|
ENTRYPOINT ./brubeck --config=/etc/brubeck.json
|