kolla/docker/trove/trove-taskmanager/Dockerfile.j2
MD NADEEM 94a79b1652 Trove ubuntu binary container
Change-Id: I6c49a4c4da3cf6c67778ea9ef310432e93b25a8a
Partially-Implements: blueprint binary-ubuntu
2016-02-17 10:39:53 +00:00

22 lines
468 B
Django/Jinja

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
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
trove-taskmanager \
&& apt-get clean
{% endif %}
{% endif %}
{{ include_footer }}
USER trove