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