Skip to content
Snippets Groups Projects
Commit b1eef791 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Unify Centos and Ubuntu Source Install - Gnocchi"

parents 48c7fd4b 8594c78a
No related branches found
No related tags found
No related merge requests found
...@@ -14,16 +14,12 @@ RUN apt-get install -y --no-install-recommends libpq-dev \ ...@@ -14,16 +14,12 @@ RUN apt-get install -y --no-install-recommends libpq-dev \
{% endif %} {% endif %}
ADD ./gnocchi.tar / ADD gnocchi.tar /
RUN ln -s /gnocchi-* /gnocchi RUN ln -s /gnocchi-* gnocchi \
RUN cd /gnocchi \
&& useradd --user-group gnocchi \ && useradd --user-group gnocchi \
&& pip install -r requirements.txt \ && pip --no-cache-dir install /gnocchi \
&& pip install --install-option="--install-scripts=/usr/bin" /gnocchi \
&& mkdir -p /etc/gnocchi /var/log/gnocchi /home/gnocchi \ && mkdir -p /etc/gnocchi /var/log/gnocchi /home/gnocchi \
&& cp -r /gnocchi/etc/* /etc/gnocchi/ \ && cp -r /gnocchi/etc/* /etc/gnocchi/ \
&& chown -R gnocchi: /etc/gnocchi /var/log/gnocchi /home/gnocchi \ && chown -R gnocchi: /etc/gnocchi /var/log/gnocchi /home/gnocchi
&& rm -rf /root/.cache
{% endif %} {% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment