2016-12-18 10:58:37 +00: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 }}"
|
2016-12-18 10:58:37 +00:00
|
|
|
|
2017-03-18 08:02:53 -07:00
|
|
|
ENV KUBERNETES_VERSION=v1.5.4
|
2016-12-18 10:58:37 +00:00
|
|
|
|
2017-03-14 14:22:20 +01:00
|
|
|
{% if base_arch != 'x86_64' %}
|
|
|
|
|
|
|
|
RUN echo 'Kubernetes images not yet available for {{ base_arch }}' \
|
|
|
|
&& /bin/false
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
2016-12-18 10:58:37 +00:00
|
|
|
ENV KUBERNETES_DOWNLOAD_ROOT=https://storage.googleapis.com/kubernetes-release/release/${KUBERNETES_VERSION}/bin/linux/amd64
|
2017-02-20 16:09:11 +00:00
|
|
|
|
|
|
|
{% block kube_base_header %}{% endblock %}
|
|
|
|
|
2017-02-22 12:04:11 +00:00
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
|
2017-02-20 16:09:11 +00:00
|
|
|
{% block kube_base_footer %}{% endblock %}
|