
Change-Id: Ifd012b8cb7dd643da74364ecaa5133608fe9fe38 Partially-implements: blueprint install-from-source
18 lines
482 B
Docker
18 lines
482 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
|
|
|
|
COPY config-gnocchi.sh /opt/kolla/config-gnocchi.sh
|
|
|
|
CMD ["/start.sh"]
|