kolla-ansible/docker/centos/source/neutron/neutron-base/Dockerfile
Sam Yaple 4f3574b996 Remove config-internal for neutron
Change-Id: I5db2eee21c3d5780d9be9f6527de3d7fb606a3e8
Partially-implements: blueprint remove-config-internal
2015-08-07 19:43:57 +00:00

20 lines
661 B
Docker

FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
ADD ./neutron.tar /
RUN ln -s /neutron-* /neutron
RUN cd /neutron \
&& useradd --user-group neutron \
&& pip install -r requirements.txt \
&& pip install /neutron \
&& mkdir /etc/neutron /usr/share/neutron /var/log/neutron \
&& cp -r etc/* /etc/neutron/ \
&& cp -r etc/neutron/* /etc/neutron/ \
&& cp etc/api-paste.ini /usr/share/neutron \
&& mv /etc/neutron/neutron/ /etc/neutron/plugins/ \
&& chown -R neutron: /etc/neutron /var/log/neutron \
&& rm -rf /root/.cache
COPY config-sudoers.sh /opt/kolla/