aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/kubetoolbox/Dockerfile.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/kubetoolbox/Dockerfile.j2 b/docker/kubetoolbox/Dockerfile.j2
index e5945c251..d1a4f415f 100644
--- a/docker/kubetoolbox/Dockerfile.j2
+++ b/docker/kubetoolbox/Dockerfile.j2
@@ -3,6 +3,13 @@ LABEL maintainer="{{ maintainer }}"
{% block kubetoolbox_header %}{% endblock %}
+{% if base_arch != 'x86_64' %}
+
+RUN echo 'There is no "kubectl" binary for {{ base_arch }}' \
+ && /bin/false
+
+{% endif %}
+
{% import "macros.j2" as macros with context %}
{% set kubetoolbox_packages = [