Fix Glance for Ubuntu
Change-Id: Ie442b60fbaadcb83fca060b811e95c07c773c8b8 Partially-Implements: blueprint install-from-ubuntu
This commit is contained in:
parent
f70e8d4598
commit
4beacffbec
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user