summaryrefslogtreecommitdiffstats
path: root/build/ves-collector/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'build/ves-collector/Dockerfile')
-rw-r--r--build/ves-collector/Dockerfile14
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"]