43de60caaf
Both kubetoolbox and magnum-conductor install 'kubectl'. In different versions. And only for x86-64. New macro knows how to handle other architectures. AArch64 binary is fetched properly, other architectures (ppc64le for now) gets info that there is no binary upstream. Also updated to v1.5.4 as this one is used by kube/* images. Change-Id: Ia491d6ec7156201742f28b5d1018f2794529b5b4 Partially-Implements: blueprint multiarch-and-arm64-containers
22 lines
572 B
Django/Jinja
22 lines
572 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
|
|
{% block kubetoolbox_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% set kubetoolbox_packages = [
|
|
'ceph-common',
|
|
'ipmitool',
|
|
'jq'
|
|
] %}
|
|
|
|
{{ macros.install_packages(kubetoolbox_packages | customizable("packages")) }}
|
|
|
|
{% block kubetoolbox_install_kube_binary %}
|
|
{{ macros.install_kubectl() }}
|
|
{% endblock %}
|
|
|
|
{% block kubetoolbox_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|