blob: 054b8d7428306a9b856c2c3f7b42c02172081948 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
FROM {{ namespace }}/{{ image_prefix }}hacluster-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block hacluster_pacemaker_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% set hacluster_pacemaker_packages = ['pacemaker'] %}
{% if base_package_type == 'deb' %}
{% set hacluster_pacemaker_packages = hacluster_pacemaker_packages + [
'pacemaker-cli-utils'
] %}
{% endif %}
{{ macros.install_packages(hacluster_pacemaker_packages | customizable("packages")) }}
{% block hacluster_pacemaker_footer %}{% endblock %}
|