diff options
author | Bryan Sullivan <bryan.sullivan@att.com> | 2018-01-22 15:25:53 -0800 |
---|---|---|
committer | Bryan Sullivan <bryan.sullivan@att.com> | 2018-01-22 15:25:53 -0800 |
commit | da9564a9b0b78bbe341de9b039aab3c378eb027f (patch) | |
tree | 74186eb0c6d429e84b3bb164bfbebfa50e90441e /build/ves-collector/Dockerfile | |
parent | 1d82514c0cf25ed599d27ecfd0c4c9502478ef0c (diff) |
Implement component deployment via cloudify
JIRA: VES-2
Change-Id: Ic696f13d2a32e10663f50cd4e26b9a060525ff92
Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
Diffstat (limited to 'build/ves-collector/Dockerfile')
-rw-r--r-- | build/ves-collector/Dockerfile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/build/ves-collector/Dockerfile b/build/ves-collector/Dockerfile index 9161871..4cd135f 100644 --- a/build/ves-collector/Dockerfile +++ b/build/ves-collector/Dockerfile @@ -1,4 +1,4 @@ -# Copyright 2017 AT&T Intellectual Property, Inc +# Copyright 2017-2018 AT&T Intellectual Property, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# What this is: A Dockerfile for building an OPFNV VES Agent container image. +# What this is: A Dockerfile for building an OPFNV VES Collector container image. # # Status: this is a work in progress, under test. # @@ -21,14 +21,9 @@ FROM ubuntu:xenial MAINTAINER Bryan Sullivan -RUN apt-get update -RUN apt-get install -y apt-utils +RUN apt-get update && apt-get install -y apt-utils RUN apt-get -y upgrade -RUN apt-get update -RUN apt-get install -y git - -# Required for VES collector -RUN apt-get install -y python-pip python-jsonschema +RUN apt-get update && apt-get install -y git python-pip python-jsonschema curl RUN pip install requests RUN mkdir /opt/ves @@ -37,5 +32,6 @@ RUN mkdir /opt/ves RUN git clone https://github.com/att/evel-test-collector.git /opt/ves/evel-test-collector COPY monitor.py /opt/ves/evel-test-collector/code/collector/monitor.py +COPY Dashboard.json /opt/ves/Dashboard.json COPY start.sh /opt/ves/start.sh ENTRYPOINT ["/bin/bash", "/opt/ves/start.sh"] |