aboutsummaryrefslogtreecommitdiff
path: root/docker/searchlight/searchlight-api/Dockerfile.j2
blob: 2ccd11e06f61ff175e143ab1183318e464056bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM {{ namespace }}/{{ image_prefix }}searchlight-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}

{% block searchlight_api_header %}{% endblock %}

{% if install_type == 'binary' %}

RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
    && /bin/false

{% endif %}

COPY extend_start.sh /usr/local/bin/kolla_searchlight_extend_start
RUN chmod 755 /usr/local/bin/kolla_searchlight_extend_start

{% block searchlight_api_footer %}{% endblock %}
{% block footer %}{% endblock %}

USER searchlight