Merge "Dependency init container"

This commit is contained in:
Jenkins 2016-11-18 17:48:01 +00:00 committed by Gerrit Code Review
commit 4ef26e8fab

View File

@ -0,0 +1,11 @@
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block kubernetes_entrypoint_header %}{% endblock %}
RUN curl -Lo /usr/local/bin/kubernetes-entrypoint https://github.com/stackanetes/kubernetes-entrypoint/releases/download/v0.1.0/kubernetes-entrypoint \
&& chmod 755 /usr/local/bin/kubernetes-entrypoint
{% block kubernetes_entrypoint_footer %}{% endblock %}
{% block footer %}{% endblock %}
CMD /usr/local/bin/kubernetes-entrypoint