summaryrefslogtreecommitdiffstats
path: root/build/os
diff options
context:
space:
mode:
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