Skip to content
Snippets Groups Projects
  • Steven Dake's avatar
    0e99b69d
    Implement a install_type and install_metatype · 0e99b69d
    Steven Dake authored
    This prepares for the RHEL OSP implementation by making the build
    tool convert all binary-* into an install_type of binary and * into
    an install_metatype variable substitution inside the Dockerfiles.
    Further binary-* is substituted as install_name to enable proper
    building only.
    
    Change-Id: Ib681b29176eb79a3cab12ec824313fdecb6e7a5f
    Partially-Implements: blueprint rhel-based-image-support
    0e99b69d
    History
    Implement a install_type and install_metatype
    Steven Dake authored
    This prepares for the RHEL OSP implementation by making the build
    tool convert all binary-* into an install_type of binary and * into
    an install_metatype variable substitution inside the Dockerfiles.
    Further binary-* is substituted as install_name to enable proper
    building only.
    
    Change-Id: Ib681b29176eb79a3cab12ec824313fdecb6e7a5f
    Partially-Implements: blueprint rhel-based-image-support
Dockerfile.j2 419 B
FROM {{ namespace }}/{{ image_prefix }}ceilometer-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)

{% if install_type == 'binary' %}
    {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}


RUN yum install -y openstack-ceilometer-api \
  && yum clean all

    {% endif %}
{% endif %}

COPY ./start.sh /
COPY config-external.sh /opt/kolla/

CMD ["/start.sh"]

{{ include_footer }}