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

{% block hacluster_base_header %}{% endblock %}

{% import "macros.j2" as macros with context %}

{% if base_package_type =='rpm' %}

{{ macros.enable_extra_repos(['hacluster']) }}

{% endif %}

COPY extend_start.sh /usr/local/bin/kolla_extend_start

RUN chmod 644 /usr/local/bin/kolla_extend_start

{{ macros.kolla_patch_sources() }}

{% block hacluster_base_footer %}{% endblock %}