Merge "Glance installation from source"

This commit is contained in:
Jenkins 2015-07-23 15:34:00 +00:00 committed by Gerrit Code Review
commit 23a16fbcde
17 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,8 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%glance-base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
COPY start.sh check.sh /
COPY config-internal.sh config-external.sh /opt/kolla/
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/glance/glance-api/check.sh

View File

@ -0,0 +1 @@
../../../../common/glance/glance-api/config-external.sh

View File

@ -0,0 +1 @@
../../../../common/glance/glance-api/config-internal.sh

View File

@ -0,0 +1 @@
../../../../common/glance/glance-api/start.sh

View File

@ -0,0 +1,9 @@
# Build info specific to this image. All values can be overridden in .buildconf
COMPONENT=glance
SOURCE_INSTALL_AVAILABLE=1
# Used for git install method
: ${CLONE_FROM:=https://github.com/openstack/glance}
# Used for curl install method
: ${TARBALL_URI:=http://tarballs.openstack.org/glance/glance-master.tar.gz}

View File

@ -0,0 +1,16 @@
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"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/glance/glance-base/config-glance.sh

View File

@ -0,0 +1,5 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
VOLUME [ "/var/lib/glance" ]
CMD ["/bin/true"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1,7 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%glance-base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
COPY config-internal.sh config-external.sh /opt/kolla/
COPY start.sh /
CMD ["/start.sh"]

View File

@ -0,0 +1 @@
../../../../../tools/build-docker-image

View File

@ -0,0 +1 @@
../../../../common/glance/glance-registry/config-external.sh

View File

@ -0,0 +1 @@
../../../../common/glance/glance-registry/config-internal.sh

View File

@ -0,0 +1 @@
../../../../common/glance/glance-registry/start.sh