aboutsummaryrefslogtreecommitdiff
path: root/docker/centos/binary/designate/designate-base/Dockerfile
diff options
context:
space:
mode:
authorHarm Weites <harm@weites.com>2015-05-29 20:21:47 +0200
committerHarm Weites <harm@weites.com>2015-06-05 21:06:06 +0200
commit76c5d9a6c86d77c66de2bf9b14740cd7912dff2d (patch)
tree2b2f1407dae9df94ef8a003d14ca628b4bd4adb8 /docker/centos/binary/designate/designate-base/Dockerfile
parentc59b94a1fea62ca0c69c658a14e03be08149539c (diff)
downloadkolla-76c5d9a6c86d77c66de2bf9b14740cd7912dff2d.tar.gz
kolla-76c5d9a6c86d77c66de2bf9b14740cd7912dff2d.zip
Add the Designate DNSaaS services.
This is a complete DNS solution, with hidden master and bind9 slave. It lacks the designate-sink service, because there is no true specification to implement that. It listens for Nova/Neutron events and creates records though adding those to just 1 domain isn't helping much in an environment with multiple tenants. Change-Id: I500fb6058b118d25a4ccfd1d3479830c36af7e2a Blueprint: designate-container
Diffstat (limited to 'docker/centos/binary/designate/designate-base/Dockerfile')
-rw-r--r--docker/centos/binary/designate/designate-base/Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/docker/centos/binary/designate/designate-base/Dockerfile b/docker/centos/binary/designate/designate-base/Dockerfile
new file mode 100644
index 000000000..ae7b06001
--- /dev/null
+++ b/docker/centos/binary/designate/designate-base/Dockerfile
@@ -0,0 +1,17 @@
+FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
+MAINTAINER Kolla Project (https://launchpad.net/kolla)
+
+# Install designate-api because of /etc/designate/policy.json, which
+# is needed in all services. This is probably a packaging bug. We do
+# need the complete policy file because of some of the containers'
+# requiring it. Remove the package when the file is moved though.
+RUN yum install -y \
+ MySQL-python \
+ openstack-designate-api \
+ openstack-designate-common \
+ && yum clean all \
+ && cp /etc/designate/policy.json /tmp/ \
+ && rpm -e openstack-designate-api \
+ && mv /tmp/policy.json /etc/designate/
+
+COPY config-designate.sh /opt/kolla/config-designate.sh