Dependency init container

This is image for generic init container required for k-k8s deployment.
This is related to this spec https://review.openstack.org/#/c/392257/

Change-Id: I0cb7249f9b881d13ca7924207362cbfdd68b39b6
This commit is contained in:
Michal (inc0) Jastrzebski 2016-11-17 15:33:57 +00:00
parent 25c5b082ec
commit 53461c6434
1 changed files with 11 additions and 0 deletions

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