Use openstack/requirements for glance

See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context.

Change-Id: I46f456ce71f76b0a6a2933220a500c5221769ff9
Partial-Bug: #150530
This commit is contained in:
Paul Bourke 2015-10-15 11:06:02 +01:00
parent f951e9f9c8
commit 7c582b4bbf

View File

@ -26,7 +26,7 @@ RUN apt-get install -y --no-install-recommends \
ADD glance-base-archive /glance-base-source ADD glance-base-archive /glance-base-source
RUN ln -s glance-base-source/* glance \ RUN ln -s glance-base-source/* glance \
&& useradd --user-group glance \ && useradd --user-group glance \
&& pip --no-cache-dir install /glance \ && pip --no-cache-dir install -c requirements/upper-constraints.txt /glance \
&& mkdir -p /etc/glance /var/log/glance /home/glance \ && mkdir -p /etc/glance /var/log/glance /home/glance \
&& cp -r /glance/etc/* /etc/glance/ \ && cp -r /glance/etc/* /etc/glance/ \
&& chown -R glance: /etc/glance /var/log/glance /home/glance && chown -R glance: /etc/glance /var/log/glance /home/glance