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
This commit is contained in:
Martin André 2015-12-15 17:47:36 +09:00
parent 09b14eb2a8
commit 9a2e0e84e4
1 changed files with 6 additions and 1 deletions

View File

@ -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 \