Implement a version of the O1/VES interface for SMO
[smo/ves.git] / collector / Dockerfile
1 # Copyright 2017-2018 AT&T Intellectual Property, Inc
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 #
15 # What this is: A Dockerfile for building an OPFNV VES Collector container image.
16 #
17 # Status: this is a work in progress, under test.
18 #
19
20 FROM ubuntu:xenial
21
22 RUN apt-get update && apt-get install -y apt-utils
23 RUN apt-get -y upgrade
24 RUN apt-get update && apt-get install -y git python-pip python-jsonschema curl
25 RUN pip install requests pytz tzlocal
26
27 RUN mkdir /opt/ves
28
29 # copy VES Collector over to the Docker
30 RUN mkdir /opt/ves/evel-test-collector
31 ADD evel-test-collector /opt/ves/evel-test-collector
32
33 COPY Dashboard.json /opt/ves/Dashboard.json
34 COPY start.sh /opt/ves/start.sh
35 ENTRYPOINT ["/bin/bash", "/opt/ves/start.sh"]