e4259f805b
According to http://docs.openstack.org/developer/designate/getting-started.html#initialize-start-the-central-service designate database bootstrap to be done by designate-manage database sync. Was also missing designate-manage pool_manager_cache sync. designate-manage command is packaged with designate-central. Boot strap commands moved to designate-central. Added creation of log directories. Added python2-oslo-reports and python2-suds for bootstrap to complete. Change-Id: I3896064b0abb31c96307b16005a340fc193aac3c Closes-Bug: 1610795
23 lines
480 B
Django/Jinja
23 lines
480 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}designate-base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
|
|
|
RUN yum -y install \
|
|
openstack-designate-api \
|
|
&& yum clean all
|
|
|
|
{% elif base_distro in ['ubuntu'] %}
|
|
|
|
RUN apt-get -y install --no-install-recommends \
|
|
designate-api \
|
|
&& apt-get clean
|
|
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{{ include_footer }}
|
|
|
|
USER designate
|