
Container with glance installed from source. Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net"> Partially Implements: blueprint install-from-source Change-Id: I73071415023b141b760f6c4cc5b181a97a4f7552
17 lines
418 B
Docker
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"]
|