diff options
| author | Martin André <m.andre@redhat.com> | 2015-12-15 17:47:36 +0900 |
|---|---|---|
| committer | Martin André <m.andre@redhat.com> | 2015-12-15 17:49:42 +0900 |
| commit | 9a2e0e84e40588fcd4c3948e85e790aec3849fc9 (patch) | |
| tree | 31f3d2ed8a196e3fee684f3a0003706216b86125 | |
| parent | 09b14eb2a827a1e0eb174a0416d28b6cc1d6dff9 (diff) | |
| download | kolla-9a2e0e84e40588fcd4c3948e85e790aec3849fc9.tar.gz kolla-9a2e0e84e40588fcd4c3948e85e790aec3849fc9.zip | |
Fast fail unsupported murano-base install types
The centos-binary murano image will still fail to build, but at least
it will fail with a relevant error message.
Change-Id: I9870f3437fbfad5820eb014173d9ec49813e60d0
Closes-Bug: #1526202
| -rw-r--r-- | docker/murano/murano-base/Dockerfile.j2 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docker/murano/murano-base/Dockerfile.j2 b/docker/murano/murano-base/Dockerfile.j2 index 67eb6266c..58f9c6c6e 100644 --- a/docker/murano/murano-base/Dockerfile.j2 +++ b/docker/murano/murano-base/Dockerfile.j2 @@ -1,7 +1,12 @@ FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }} MAINTAINER {{ maintainer }} -{% if install_type == 'source' %} +{% if install_type == 'binary' %} + +RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \ + && /bin/false + +{% elif install_type == 'source' %} ADD murano-base-archive /murano-base-source RUN ln -s murano-base-source/* murano \ |
