diff options
| author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2017-04-19 15:44:16 +0200 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2017-04-19 15:45:29 +0200 |
| commit | 22c1557704fe263498e9f6d08996e4a83c7c9d36 (patch) | |
| tree | b4181e9e66927f08a471bcdadbb2fc8c293e3002 /docker | |
| parent | 1cad4813b60dcea08587375e7cfd7b3f8b407592 (diff) | |
| download | kolla-22c1557704fe263498e9f6d08996e4a83c7c9d36.tar.gz kolla-22c1557704fe263498e9f6d08996e4a83c7c9d36.zip | |
kubetoolbox: mark as x86-64 only
Image is using 'kubectl' binary which is not available for non-x86
architectures.
Change-Id: I26f4d2d8fa01f665ed25e429bca856c0fe3f852f
Partially-Implements: blueprint multiarch-and-arm64-containers
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/kubetoolbox/Dockerfile.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/kubetoolbox/Dockerfile.j2 b/docker/kubetoolbox/Dockerfile.j2 index 11790dbb4..6c8372fd9 100644 --- a/docker/kubetoolbox/Dockerfile.j2 +++ b/docker/kubetoolbox/Dockerfile.j2 @@ -3,6 +3,13 @@ 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 = [ |
