Fix Glance for Ubuntu

Change-Id: Ie442b60fbaadcb83fca060b811e95c07c773c8b8
Partially-Implements: blueprint install-from-ubuntu
This commit is contained in:
Sam Yaple 2015-08-22 10:51:52 +00:00
parent f70e8d4598
commit 4beacffbec

View File

@ -23,9 +23,10 @@ RUN ln -s /glance-* /glance
RUN cd /glance \
&& useradd --user-group glance \
&& pip install -r requirements.txt \
&& pip install /glance \
&& mkdir /etc/glance /var/log/glance \
&& pip install --install-option="--install-scripts=/usr/bin" /glance \
&& mkdir -p /etc/glance /var/log/glance /home/glance \
&& cp -r /glance/etc/* /etc/glance/ \
&& chown -R glance: /etc/glance /var/log/glance /home/glance \
&& rm -rf /root/.cache
{% endif %}