aboutsummaryrefslogtreecommitdiff
path: root/docker/neutron/neutron-server/Dockerfile.j2
diff options
context:
space:
mode:
Diffstat (limited to 'docker/neutron/neutron-server/Dockerfile.j2')
-rw-r--r--docker/neutron/neutron-server/Dockerfile.j231
1 files changed, 31 insertions, 0 deletions
diff --git a/docker/neutron/neutron-server/Dockerfile.j2 b/docker/neutron/neutron-server/Dockerfile.j2
new file mode 100644
index 000000000..9cfe634c4
--- /dev/null
+++ b/docker/neutron/neutron-server/Dockerfile.j2
@@ -0,0 +1,31 @@
+FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-neutron-base:{{ tag }}
+MAINTAINER Kolla Project (https://launchpad.net.kolla)
+
+{% if install_type == 'binary' %}
+ {% if base_distro in ['centos', 'fedora', 'oraclelinux'] %}
+
+# Install required packages
+RUN yum install -y which \
+ && yum clean all
+
+# See bug: https://bugs.launchpad.net/kolla/+bug/1483667
+# TODO(SamYaple): Check in on this and remove once unneccesary
+RUN pip install oslo.messaging==2.2.0
+
+ {% endif %}
+{% elif install_type == 'source' %}
+ {% if base_distro in ['centos', 'fedora', 'oraclelinux'] %}
+
+#Install required packages
+RUN yum install -y which \
+ && yum clean all
+
+ {% endif %}
+{% endif %}
+
+COPY start.sh /
+COPY config-external.sh /opt/kolla/
+
+CMD ["/start.sh"]
+
+{{ include_footer }}