2015-12-18 12:22:12 +05:30
|
|
|
FROM {{ namespace }}/{{ image_prefix }}trove-base:{{ tag }}
|
2017-05-02 16:23:09 +09:00
|
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
2015-12-18 12:22:12 +05:30
|
|
|
|
2016-09-07 18:15:01 +01:00
|
|
|
{% block trove_taskmanager_header %}{% endblock %}
|
|
|
|
|
2016-07-23 15:01:42 +05:30
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
|
2015-12-18 12:22:12 +05:30
|
|
|
{% if install_type == 'binary' %}
|
2016-11-03 10:37:21 +01:00
|
|
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
2016-07-23 15:01:42 +05:30
|
|
|
{% set trove_taskmanager_packages = ['openstack-trove-taskmanager'] %}
|
2017-02-12 18:36:51 +01:00
|
|
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
2016-07-23 15:01:42 +05:30
|
|
|
{% set trove_taskmanager_packages = ['trove-taskmanager'] %}
|
|
|
|
{% endif %}
|
2016-02-17 13:17:40 +05:30
|
|
|
|
2016-08-12 08:24:11 +10:00
|
|
|
{{ macros.install_packages(trove_taskmanager_packages | customizable("packages")) }}
|
2016-02-17 13:17:40 +05:30
|
|
|
|
2015-12-18 12:22:12 +05:30
|
|
|
{% endif %}
|
|
|
|
|
2016-07-23 15:01:42 +05:30
|
|
|
{% block trove_taskmanager_footer %}{% endblock %}
|
|
|
|
{% block footer %}{% endblock %}
|
2015-12-18 12:22:12 +05:30
|
|
|
|
|
|
|
USER trove
|