summaryrefslogtreecommitdiffstats
path: root/build/os
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2015-11-16 11:07:54 +0800
committergrakiss <grakiss.wanglei@huawei.com>2015-11-16 14:45:50 +0800
commit40559d47089d66c0c81b9d7fd1a2c81b490a5927 (patch)
tree3882ee4311038166435d3c44bf2920e086cb1d1d /build/os
parente21f4641344faa6d61e5f0f772662d9185a34b18 (diff)
using ELK in web-ui for running log
JIRA: COMPASS-142 - make repo for elk Change-Id: I3f0cc25d0485463edeff40f2ded03863c16fe8b5 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'build/os')
-rw-r--r--build/os/centos/rhel6/compass/Dockerfile.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/os/centos/rhel6/compass/Dockerfile.tmpl b/build/os/centos/rhel6/compass/Dockerfile.tmpl
index 8a8318e1..df2bcb77 100644
--- a/build/os/centos/rhel6/compass/Dockerfile.tmpl
+++ b/build/os/centos/rhel6/compass/Dockerfile.tmpl
@@ -1,6 +1,10 @@
FROM centos:6.6
MAINTAINER Chigang(Justin) <chigang@huawei.com>
+# add repo files first, then update
+ADD ./elasticsearch.repo /etc/yum.repos.d/elasticsearch.repo
+ADD ./logstash.repo /etc/yum.repos.d/logstash.repo
+
# TODO: Is there some easy way to get the fastest/closest mirror?
RUN yum update -y