Add build from source for Heat

Add build from source for Heat for the CentOS platform.

Change-Id: Ia69c5017873cff86aca05cfa5bf8be691a360210
Partially-implements: blueprint install-from-source
This commit is contained in:
Steven Dake 2015-07-14 18:43:35 -07:00
parent c7ed1f8178
commit 7606d589b4
22 changed files with 70 additions and 0 deletions

View File

@ -23,6 +23,8 @@ RUN yum install -y \
python-devel \ python-devel \
python-pip \ python-pip \
tar \ tar \
libxml2-devel \
libxslt-devel \
&& yum clean all && yum clean all
RUN pip install --upgrade pip RUN pip install --upgrade pip

View File

@ -0,0 +1,9 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%heat-base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
ADD ./start.sh /start.sh
ADD ./check.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/heat/heat-api-cfn/check.sh

View File

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

View File

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

View File

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

View File

@ -0,0 +1,9 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%heat-base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
ADD ./start.sh /start.sh
ADD ./check.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/heat/heat-api/check.sh

View File

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

View File

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

View File

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

View File

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

View File

@ -0,0 +1,16 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
ADD ./heat.tar /
RUN ln -s /heat-* /heat
RUN cd /heat \
&& useradd --user-group heat \
&& pip install -r requirements.txt \
&& pip install /heat \
&& mkdir /etc/heat /var/log/heat \
&& cp -r /heat/etc/* /etc/heat/
COPY config-heat.sh /opt/kolla/
CMD ["/start.sh"]

View File

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

View File

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

View File

@ -0,0 +1,8 @@
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%heat-base:%%KOLLA_TAG%%
MAINTAINER Kolla Project (https://launchpad.net/kolla)
ADD ./start.sh /start.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/heat/heat-engine/config-external.sh

View File

@ -0,0 +1 @@
../../../../common/heat/heat-engine/config-internal.sh

View File

@ -0,0 +1 @@
../../../../common/heat/heat-engine/start.sh