blob: 5ebd8c36f6e0f1677b200646adc0857ae1ced158 [file] [log] [blame]
santanudee1169f52021-05-13 20:11:38 +05301# Copyright 2017-2018 AT&T Intellectual Property, Inc
santanudef22d9b52021-07-27 15:43:30 +05302#
santanudee1169f52021-05-13 20:11:38 +05303# 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
santanudef22d9b52021-07-27 15:43:30 +05306#
santanudee1169f52021-05-13 20:11:38 +05307# http://www.apache.org/licenses/LICENSE-2.0
santanudef22d9b52021-07-27 15:43:30 +05308#
santanudee1169f52021-05-13 20:11:38 +05309# 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
santanudef22d9b52021-07-27 15:43:30 +053020FROM ubuntu:focal
santanudee1169f52021-05-13 20:11:38 +053021
santanudef22d9b52021-07-27 15:43:30 +053022
23RUN apt-get update && apt-get -y upgrade
24RUN apt-get install -y git curl python3 python3-pip
25RUN pip3 install requests jsonschema
santanudee1169f52021-05-13 20:11:38 +053026
27RUN mkdir /opt/ves
28
santanudef22d9b52021-07-27 15:43:30 +053029# Clone VES Collector
santanudee1169f52021-05-13 20:11:38 +053030RUN mkdir /opt/ves/evel-test-collector
31ADD evel-test-collector /opt/ves/evel-test-collector
32
33COPY Dashboard.json /opt/ves/Dashboard.json
34COPY start.sh /opt/ves/start.sh
35ENTRYPOINT ["/bin/bash", "/opt/ves/start.sh"]