-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (28 loc) · 764 Bytes
/
Copy pathDockerfile
File metadata and controls
35 lines (28 loc) · 764 Bytes
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
27
28
29
30
31
32
33
34
35
# docker-metronome
#
# VERSION 0.1
FROM ubuntu:xenial
MAINTAINER Gints Polis <polis.gints@gmail.com>
# Image maintenance
RUN apt-get update
# Development tools
RUN apt-get install -y build-essential
RUN apt-get install -y dh-autoreconf
RUN apt-get install -y autoconf
RUN apt-get install -y libeigen3-dev
RUN apt-get install -y libboost-all-dev
RUN apt-get install -y git
RUN apt-get install -y supervisor
# Metronome compile
RUN git clone https://github.com/gintsgints/metronome.git /metronome
RUN cd /metronome \
&& ./bootstrap \
&& ./configure \
&& make
# Prepeare run enviroment
RUN mkdir /stats
ADD ./assets/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
# webservice, carbon ports
EXPOSE 8000
EXPOSE 2003
CMD /usr/bin/supervisord