kolla/docker/trove/trove-api/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

25 lines
558 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-api \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
trove-api \
&& apt-get clean
{% endif %}
{% endif %}
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start
{{ include_footer }}
USER trove