Sam Yaple 65ed3c7f53 Remove config-internal for gnocchi
Change-Id: Icf74913d03a780cd7c59fbc26a55344f2a12fdfa
Partially-implements: blueprint remove-config-internal
2015-08-07 18:48:27 +00:00

14 lines
410 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/* /etc/gnocchi/ \
&& rm -rf /root/.cache