f77f852acd4074abc6efadc0e5f5bae6c338ac13
[barometer.git] / docker / ves / Dockerfile
1 FROM centos:7
2 RUN yum update -y && \
3     yum install -y epel-release \
4                    git \
5                    nc
6
7 RUN yum install -y python-pip
8 RUN pip install pyyaml \
9                 kafka-python
10
11 ENV repos_dir /src
12
13 WORKDIR ${repos_dir}
14 RUN git clone https://gerrit.opnfv.org/gerrit/barometer
15 WORKDIR barometer/3rd_party/collectd-ves-app/ves_app
16 COPY start_ves_app.sh ${repos_dir}
17 RUN chmod 755 start_ves_app.sh
18
19 ENTRYPOINT ["./start_ves_app.sh"]
20 CMD ["host.yaml"]