6cd7161a7f
This separates the rsyslog image definition into a server image "rsyslog" and an "rsyslog-base" image. This will enable the creation of more finegrained images depending on the use-case, e.g.: A minimal side-car container image that merely outputs what it gets from syslog to stdout. Change-Id: I33ae15c0beb5af6179a84f3722150a287316ad25
16 lines
454 B
Django/Jinja
16 lines
454 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
|
|
{% block rsyslog_base_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% set rsyslog_base_packages = [
|
|
'rsyslog'
|
|
] %}
|
|
|
|
{{ macros.install_packages(rsyslog_base_packages | customizable("packages")) }}
|
|
|
|
{% block rsyslog_base_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|