blob: c70184ed1a061b7b9a52c76ad734878875069f17 [file] [log] [blame]
santanudec82167d2021-10-21 17:42:34 +05301# Original work Copyright 2017-2018 AT&T Intellectual Property, Inc
2# Modified work Copyright 2021 Xoriant Corporation
3
santanudee1169f52021-05-13 20:11:38 +05304# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
santanudec82167d2021-10-21 17:42:34 +05307#
santanudee1169f52021-05-13 20:11:38 +05308# http://www.apache.org/licenses/LICENSE-2.0
santanudec82167d2021-10-21 17:42:34 +05309#
santanudee1169f52021-05-13 20:11:38 +053010# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16# What this is: A Dockerfile for building an OPFNV VES Collector container image.
17#
18# Status: this is a work in progress, under test.
19#
20
santanudef22d9b52021-07-27 15:43:30 +053021FROM ubuntu:focal
santanudee1169f52021-05-13 20:11:38 +053022
santanudef22d9b52021-07-27 15:43:30 +053023RUN apt-get update && apt-get -y upgrade
24RUN apt-get install -y git curl python3 python3-pip
Arif Hussain7ca707c2021-12-02 15:20:40 +053025RUN pip3 install requests jsonschema elasticsearch kafka-python gevent
santanudec82167d2021-10-21 17:42:34 +053026
santanudee1169f52021-05-13 20:11:38 +053027
Arif Hussain7ca707c2021-12-02 15:20:40 +053028RUN mkdir -p /opt/ves/certs
santanudee1169f52021-05-13 20:11:38 +053029
santanudef22d9b52021-07-27 15:43:30 +053030# Clone VES Collector
santanudee1169f52021-05-13 20:11:38 +053031RUN mkdir /opt/ves/evel-test-collector
32ADD evel-test-collector /opt/ves/evel-test-collector
33
34COPY Dashboard.json /opt/ves/Dashboard.json
35COPY start.sh /opt/ves/start.sh
36ENTRYPOINT ["/bin/bash", "/opt/ves/start.sh"]