kolla-ansible/docker/centos/source/magnum/magnum-base/Dockerfile
Sam Yaple 1581874da6 Remove config-internal for Magnum
Change-Id: I766a434c736eb712818a31ae86a346706e8627d8
Partially-implements: blueprint remove-config-internal
2015-08-07 18:29:38 +00:00

14 lines
400 B
Docker

FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
ADD ./magnum.tar /
RUN ln -s /magnum-* /magnum
RUN cd /magnum \
&& useradd --user-group magnum \
&& pip install -r requirements.txt \
&& pip install /magnum \
&& mkdir /etc/magnum /var/log/magnum \
&& cp -r /magnum/etc/* /etc/magnum/ \
&& rm -rf /root/.cache