aboutsummaryrefslogtreecommitdiff
path: root/docker/nova/nova-spicehtml5proxy/Dockerfile.j2
blob: 2397e68d0a902cce3b089ab3632df446a432e1b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM {{ namespace }}/{{ image_prefix }}nova-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)

{% if install_type == 'binary' %}
    {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

RUN echo 'ERROR: The specified distro has no Kolla images to build: "{{ base_distro }}"' \
    && /bin/false

    {% endif %}
{% elif install_type == 'source' %}

ADD nova-spicehtml5proxy-archive /usr/share/nova-spicehtml5proxy-source
RUN cd /usr/share && ln -s nova-spicehtml5proxy-source/* spice-html5

{% endif %}

{{ include_footer }}