kolla-ansible/docker/nova/nova-novncproxy/Dockerfile.j2
Steven Dake 8080ba0e40 Make novncproxy work on from source installs
The symlink was wrong.

Change-Id: I9bb7978c7b5460484528af2a740a95e1d6411901
Closes-Bug: #1495158
2015-09-13 01:11:39 -07:00

26 lines
616 B
Django/Jinja

FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-nova-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install \
novnc \
openstack-nova-novncproxy \
&& yum clean all
{% endif %}
{% elif install_type == 'source' %}
ADD nova-novncproxy-archive /usr/share/nova-novncproxy-source
RUN cd /usr/share && ln -s nova-novncproxy-source/* novnc
{% endif %}
COPY start.sh /
COPY config-external.sh /opt/kolla/
CMD ["/start.sh"]
{{ include_footer }}