2015-12-18 12:22:12 +05:30
|
|
|
FROM {{ namespace }}/{{ image_prefix }}trove-base:{{ tag }}
|
|
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
|
|
|
|
{% if install_type == 'binary' %}
|
|
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
|
|
|
|
|
|
|
RUN yum install -y openstack-trove-taskmanager \
|
|
|
|
&& yum clean all
|
|
|
|
|
2016-02-17 13:17:40 +05:30
|
|
|
{% elif base_distro in ['ubuntu'] %}
|
|
|
|
|
|
|
|
RUN apt-get install -y --no-install-recommends \
|
|
|
|
trove-taskmanager \
|
|
|
|
&& apt-get clean
|
|
|
|
|
2015-12-18 12:22:12 +05:30
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{{ include_footer }}
|
|
|
|
|
|
|
|
USER trove
|