65ed3c7f53
Change-Id: Icf74913d03a780cd7c59fbc26a55344f2a12fdfa Partially-implements: blueprint remove-config-internal
14 lines
410 B
Docker
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
|