From bedb106fad200f534960f3297cffe540d0bb65d3 Mon Sep 17 00:00:00 2001 From: jiangpch Date: Wed, 27 Sep 2017 04:23:03 -0400 Subject: [PATCH] add zun-wsproxy image zun needs to start zun-wsproxy service to provide the container attach feature(the container console on horizon), so a standalone docker image is required. Change-Id: I24d1b4a7b63c3bc86705269bda50fa2e3bdb9fab --- docker/zun/zun-wsproxy/Dockerfile.j2 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docker/zun/zun-wsproxy/Dockerfile.j2 diff --git a/docker/zun/zun-wsproxy/Dockerfile.j2 b/docker/zun/zun-wsproxy/Dockerfile.j2 new file mode 100644 index 0000000000..67cfe1f2b9 --- /dev/null +++ b/docker/zun/zun-wsproxy/Dockerfile.j2 @@ -0,0 +1,14 @@ +FROM {{ namespace }}/{{ image_prefix }}zun-base:{{ tag }} +LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}" + +{% block zun_wsproxy_header %}{% endblock %} + +{% if install_type == 'binary' %} + +RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \ + && /bin/false + +{% endif %} + +{% block zun_wsproxy_footer %}{% endblock %} +{% block footer %}{% endblock %}