kolla/docker/rsyslog/rsyslog-base/Dockerfile.j2
Juan Antonio Osorio Robles 6cd7161a7f Separate rsyslog image definition
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
2017-11-03 13:13:10 +02:00

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 %}