
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
14 lines
385 B
Docker
14 lines
385 B
Docker
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
ADD ./heat.tar /
|
|
RUN ln -s /heat-* /heat
|
|
|
|
RUN cd /heat \
|
|
&& useradd --user-group heat \
|
|
&& pip install -r requirements.txt \
|
|
&& pip install /heat \
|
|
&& mkdir /etc/heat /var/log/heat \
|
|
&& cp -r /heat/etc/heat/* /etc/heat/ \
|
|
&& rm -rf /root/.cache
|