summaryrefslogtreecommitdiff
path: root/docker/kube/kube-apiserver/Dockerfile.j2
blob: c0918ce40704483fadf3f31848a2f032f2c43df3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM {{ namespace }}/{{ image_prefix }}kube-base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"

ENV KUBERNETES_COMPONENT=kube-apiserver

{% block kube_apiserver_header %}{% endblock %}

{% block kube_apiserver_install %}
RUN true \
    && curl -L ${KUBERNETES_DOWNLOAD_ROOT}/${KUBERNETES_COMPONENT} -o /usr/bin/${KUBERNETES_COMPONENT} \
    && chmod +x /usr/bin/${KUBERNETES_COMPONENT}
{% endblock %}

# Clear any customisation by Kolla to entrypoint & command
ENTRYPOINT []
CMD []

{% block kube_apiserver_footer %}{% endblock %}
{% block footer %}{% endblock %}