diff options
| author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2017-04-19 15:59:40 +0200 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2017-04-19 15:59:40 +0200 |
| commit | 471e6691547f4d5d35185578ef940ecc777f7855 (patch) | |
| tree | fb12a77ca19197cd77562c37700d7093e915fcb5 /docker | |
| parent | 1cad4813b60dcea08587375e7cfd7b3f8b407592 (diff) | |
| download | kolla-471e6691547f4d5d35185578ef940ecc777f7855.tar.gz kolla-471e6691547f4d5d35185578ef940ecc777f7855.zip | |
magnum-conductor: mark as x86-64 only
"kubectl" used by image is x86-64 binary
Change-Id: I5bd39a899e74acdebdbf467051d9c7bd53be4c6f
Partially-Implements: blueprint multiarch-and-arm64-containers
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/magnum/magnum-conductor/Dockerfile.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/magnum/magnum-conductor/Dockerfile.j2 b/docker/magnum/magnum-conductor/Dockerfile.j2 index 085b4fd17..032f7ef06 100644 --- a/docker/magnum/magnum-conductor/Dockerfile.j2 +++ b/docker/magnum/magnum-conductor/Dockerfile.j2 @@ -3,6 +3,13 @@ MAINTAINER {{ maintainer }} {% block magnum_conductor_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 %} {% if install_type == 'binary' %} |
