aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2015-10-18 07:31:50 +0000
committerSam Yaple <sam@yaple.net>2015-10-19 12:09:48 +0000
commita7d4431928982a21740fd1459e08dede7178f1ab (patch)
treeff9910a4de69bf06b02c1f3d457a28c7b4e30ea8 /docker
parent7ee4bb01c2b6fd9115c47b8022f28e19ddc32034 (diff)
downloadkolla-a7d4431928982a21740fd1459e08dede7178f1ab.tar.gz
kolla-a7d4431928982a21740fd1459e08dede7178f1ab.zip
Add nova-spicehtml5proxy console
Change-Id: I0ca15e00ee52373b84f7021d86a29304526b7436 Partially-Implements: blueprint nova-proxies
Diffstat (limited to 'docker')
-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 }}