diff options
Diffstat (limited to 'docker/nova/nova-network/Dockerfile.j2')
| -rw-r--r-- | docker/nova/nova-network/Dockerfile.j2 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/docker/nova/nova-network/Dockerfile.j2 b/docker/nova/nova-network/Dockerfile.j2 new file mode 100644 index 000000000..60ea394aa --- /dev/null +++ b/docker/nova/nova-network/Dockerfile.j2 @@ -0,0 +1,28 @@ +FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-nova-base:{{ tag }} +MAINTAINER Kolla Project (https://launchpad.net/kolla) + +{% if install_type == 'binary' %} + {% if base_distro in ['fedora', 'centos', 'oraclelinux'] %} + +RUN yum -y install \ + openstack-nova-network \ + bridge-utils \ + initscripts \ + && yum clean all + + {% endif %} +{% elif install_type == 'source' %} + {% if base_distro in ['fedora', 'centos', 'oraclelinux'] %} + +RUN yum -y install initscripts \ + && yum clean all + + {% endif %} +{% endif %} + +COPY start.sh / +COPY config-external.sh /opt/kolla/ + +CMD ["/start.sh"] + +{{ include_footer }} |
