4f903087e6
Introduce base container for redis Rebase the existing redis container on the new base container Provide a container for redis-sentinel to create a highly available cluster Change-Id: I683f02930a870c01dbc71c84060a65c72a8e568e
14 lines
452 B
Django/Jinja
14 lines
452 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
|
|
{% block redis_base_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{{ macros.configure_user(name='redis', homedir='/run/redis') }}
|
|
|
|
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
|
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
|
|
|
{% block redis_base_footer %}{% endblock %}
|