aboutsummaryrefslogtreecommitdiffstats
path: root/docker/ves/Dockerfile
blob: f77f852acd4074abc6efadc0e5f5bae6c338ac13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM centos:7
RUN yum update -y && \
    yum install -y epel-release \
                   git \
                   nc

RUN yum install -y python-pip
RUN pip install pyyaml \
                kafka-python

ENV repos_dir /src

WORKDIR ${repos_dir}
RUN git clone https://gerrit.opnfv.org/gerrit/barometer
WORKDIR barometer/3rd_party/collectd-ves-app/ves_app
COPY start_ves_app.sh ${repos_dir}
RUN chmod 755 start_ves_app.sh

ENTRYPOINT ["./start_ves_app.sh"]
CMD ["host.yaml"]