akwasniewska 7285ac03bb Glance installation from source
Container with glance installed from source.
Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net">
Partially Implements: blueprint install-from-source

Change-Id: I73071415023b141b760f6c4cc5b181a97a4f7552
2015-07-23 09:29:40 +00:00

17 lines
418 B
Docker

FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
ADD ./glance.tar /
RUN ln -s /glance-* /glance
RUN cd /glance \
&& pip install -r requirements.txt \
&& pip install /glance \
&& mkdir /etc/glance /var/log/glance \
&& cp -r /glance/etc/* /etc/glance/ \
&& rm -rf /root/.cache
COPY config-glance.sh /opt/kolla/
CMD ["/start.sh"]