Merge "Designate ubuntu binary container"
This commit is contained in:
commit
9376751d39
@ -5,9 +5,15 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
||||||
|
|
||||||
RUN yum install -y \
|
RUN yum install -y \
|
||||||
openstack-designate-api \
|
openstack-designate-api \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
designate-api \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -9,6 +9,12 @@ RUN yum install -y bind \
|
|||||||
&& mkdir -p /var/lib/kolla/ \
|
&& mkdir -p /var/lib/kolla/ \
|
||||||
&& cp -pr /var/named /var/lib/kolla/var-named
|
&& cp -pr /var/named /var/lib/kolla/var-named
|
||||||
|
|
||||||
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
bind9 \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@ MAINTAINER {{ maintainer }}
|
|||||||
# need the complete policy file because of some of the containers'
|
# need the complete policy file because of some of the containers'
|
||||||
# requiring it. Remove the package when the file is moved though.
|
# requiring it. Remove the package when the file is moved though.
|
||||||
RUN yum install -y \
|
RUN yum install -y \
|
||||||
openstack-designate-api \
|
|
||||||
openstack-designate-common \
|
openstack-designate-common \
|
||||||
python-tooz \
|
python-tooz \
|
||||||
&& yum clean all \
|
&& yum clean all \
|
||||||
@ -17,6 +16,13 @@ RUN yum install -y \
|
|||||||
&& rpm -e openstack-designate-api \
|
&& rpm -e openstack-designate-api \
|
||||||
&& mv /tmp/policy.json /etc/designate/
|
&& mv /tmp/policy.json /etc/designate/
|
||||||
|
|
||||||
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
designate-common \
|
||||||
|
python-tooz \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
|
|
||||||
|
@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
|
|||||||
RUN yum install -y openstack-designate-central \
|
RUN yum install -y openstack-designate-central \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
|
{% elif base_distro in ['ubuntu']%}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
designate-central \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
|
|||||||
RUN yum install -y openstack-designate-mdns \
|
RUN yum install -y openstack-designate-mdns \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
designate-mdns \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -10,6 +10,13 @@ RUN yum install -y \
|
|||||||
bind \
|
bind \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
designate-pool-manager \
|
||||||
|
bind9 \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -9,6 +9,13 @@ RUN yum install -y \
|
|||||||
python-designateclient \
|
python-designateclient \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y -no-install-recommends \
|
||||||
|
designate-sink \
|
||||||
|
designateclient \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user