aboutsummaryrefslogtreecommitdiff
path: root/docker/nova
diff options
context:
space:
mode:
Diffstat (limited to 'docker/nova')
-rw-r--r--docker/nova/nova-spicehtml5proxy/Dockerfile.j218
1 files changed, 18 insertions, 0 deletions
diff --git a/docker/nova/nova-spicehtml5proxy/Dockerfile.j2 b/docker/nova/nova-spicehtml5proxy/Dockerfile.j2
new file mode 100644
index 000000000..2397e68d0
--- /dev/null
+++ b/docker/nova/nova-spicehtml5proxy/Dockerfile.j2
@@ -0,0 +1,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 }}