Update designate dockerfile for formatting

Change-Id: I6d87fd19db433023d3d466e21e6dff27d7bf3927
Partial-Bug:#1569417
changes/36/308936/2
Swapnil Kulkarni (coolsvap) 7 years ago
parent a861450fd2
commit 2fdd7e4ddd
  1. 2
      docker/designate/designate-api/Dockerfile.j2
  2. 3
      docker/designate/designate-backend-bind9/Dockerfile.j2
  3. 2
      docker/designate/designate-base/Dockerfile.j2
  4. 3
      docker/designate/designate-central/Dockerfile.j2
  5. 3
      docker/designate/designate-mdns/Dockerfile.j2
  6. 6
      docker/designate/designate-poolmanager/Dockerfile.j2
  7. 2
      docker/designate/designate-sink/Dockerfile.j2

@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum install -y \
RUN yum -y install \
openstack-designate-api \
&& yum clean all

@ -4,7 +4,8 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum install -y bind \
RUN yum -y install \
bind \
&& yum clean all \
&& mkdir -p /var/lib/kolla/ \
&& cp -pr /var/named /var/lib/kolla/var-named

@ -8,7 +8,7 @@ MAINTAINER {{ maintainer }}
# 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 \
RUN yum -y install \
openstack-designate-api \
openstack-designate-common \
python-tooz \

@ -4,7 +4,8 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum install -y openstack-designate-central \
RUN yum -y install \
openstack-designate-central \
&& yum clean all
{% elif base_distro in ['ubuntu']%}

@ -4,7 +4,8 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum install -y openstack-designate-mdns \
RUN yum -y install \
openstack-designate-mdns \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}

@ -5,16 +5,16 @@ MAINTAINER {{ maintainer }}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
# The bind9 package here is only to provide the rndc binary.
RUN yum install -y \
openstack-designate-pool-manager \
RUN yum -y install \
bind \
openstack-designate-pool-manager \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
designate-pool-manager \
bind9 \
designate-pool-manager \
&& apt-get clean
{% endif %}

@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum install -y \
RUN yum -y install \
openstack-designate-sink \
python-designateclient \
&& yum clean all

Loading…
Cancel
Save