2015-09-17 09:35:33 -07:00
|
|
|
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
2017-05-02 16:23:09 +09:00
|
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
2015-08-17 07:03:25 +00:00
|
|
|
|
2016-09-07 18:15:01 +01:00
|
|
|
{% block memcached_header %}{% endblock %}
|
|
|
|
|
2016-01-22 15:46:44 -08:00
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
|
2016-12-18 19:11:47 +00:00
|
|
|
{{ macros.configure_user(name='memcached', homedir='/run/memcache') }}
|
2015-08-17 07:03:25 +00:00
|
|
|
|
2016-12-18 19:11:47 +00:00
|
|
|
{% set memcached_packages = ['memcached'] %}
|
|
|
|
{{ macros.install_packages(memcached_packages | customizable("packages")) }}
|
2015-08-17 07:03:25 +00:00
|
|
|
|
2016-01-22 15:46:44 -08:00
|
|
|
{% block memcached_footer %}{% endblock %}
|
|
|
|
{% block footer %}{% endblock %}
|
2015-11-13 15:55:47 -05:00
|
|
|
|
2016-12-18 19:11:47 +00:00
|
|
|
USER memcached
|