kolla-ansible/docker/centos/source/murano/murano-base/Dockerfile
Ryan Hallisey 726a80cd1d Refactor where source builds place config files
Many of the services have a nested directory that will
be copied into /etc, which will place the config files one
layer too deep. For example: heat has 'heat/etc/heat/heat.conf'.
Copying 'heat/etc*' to '/etc/heat' will create this extra layer.

Change-Id: Iad4661f0316523c5fe8d029d24a8e4fc68da6e15
Closes-Bug: #1484974
2015-08-14 10:58:09 -04:00

16 lines
458 B
Docker

FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
ADD ./murano.tar /
RUN ln -s /murano-* /murano
RUN cd /murano \
&& pip install -r requirements.txt \
&& pip install /murano \
&& mkdir /etc/murano \
&& cd /murano \
&& tox -e genconfig \
&& cp -r etc/murano/* /etc/murano/ \
&& cp etc/murano/murano.conf.sample /etc/murano/murano.conf \
&& rm -rf /root/.cache