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:
parent
c7ed1f8178
commit
7606d589b4
@ -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
|
||||||
|
9
docker/centos/source/heat/heat-api-cfn/Dockerfile
Normal file
9
docker/centos/source/heat/heat-api-cfn/Dockerfile
Normal 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"]
|
1
docker/centos/source/heat/heat-api-cfn/build
Symbolic link
1
docker/centos/source/heat/heat-api-cfn/build
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../../tools/build-docker-image
|
1
docker/centos/source/heat/heat-api-cfn/check.sh
Symbolic link
1
docker/centos/source/heat/heat-api-cfn/check.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../common/heat/heat-api-cfn/check.sh
|
1
docker/centos/source/heat/heat-api-cfn/config-external.sh
Symbolic link
1
docker/centos/source/heat/heat-api-cfn/config-external.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../common/heat/heat-api-cfn/config-external.sh
|
1
docker/centos/source/heat/heat-api-cfn/config-internal.sh
Symbolic link
1
docker/centos/source/heat/heat-api-cfn/config-internal.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../common/heat/heat-api-cfn/config-internal.sh
|
1
docker/centos/source/heat/heat-api-cfn/start.sh
Symbolic link
1
docker/centos/source/heat/heat-api-cfn/start.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../common/heat/heat-api-cfn/start.sh
|
9
docker/centos/source/heat/heat-api/Dockerfile
Normal file
9
docker/centos/source/heat/heat-api/Dockerfile
Normal 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"]
|
1
docker/centos/source/heat/heat-api/build
Symbolic link
1
docker/centos/source/heat/heat-api/build
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../../tools/build-docker-image
|
1
docker/centos/source/heat/heat-api/check.sh
Symbolic link
1
docker/centos/source/heat/heat-api/check.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../common/heat/heat-api/check.sh
|
1
docker/centos/source/heat/heat-api/config-external.sh
Symbolic link
1
docker/centos/source/heat/heat-api/config-external.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../common/heat/heat-api/config-external.sh
|
1
docker/centos/source/heat/heat-api/config-internal.sh
Symbolic link
1
docker/centos/source/heat/heat-api/config-internal.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../common/heat/heat-api/config-internal.sh
|
1
docker/centos/source/heat/heat-api/start.sh
Symbolic link
1
docker/centos/source/heat/heat-api/start.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../common/heat/heat-api/start.sh
|
10
docker/centos/source/heat/heat-base/.buildinfo
Normal file
10
docker/centos/source/heat/heat-base/.buildinfo
Normal 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}
|
16
docker/centos/source/heat/heat-base/Dockerfile
Executable file
16
docker/centos/source/heat/heat-base/Dockerfile
Executable 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"]
|
1
docker/centos/source/heat/heat-base/build
Symbolic link
1
docker/centos/source/heat/heat-base/build
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../../tools/build-docker-image
|
1
docker/centos/source/heat/heat-base/config-heat.sh
Symbolic link
1
docker/centos/source/heat/heat-base/config-heat.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../common/heat/heat-base/config-heat.sh
|
8
docker/centos/source/heat/heat-engine/Dockerfile
Normal file
8
docker/centos/source/heat/heat-engine/Dockerfile
Normal 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"]
|
1
docker/centos/source/heat/heat-engine/build
Symbolic link
1
docker/centos/source/heat/heat-engine/build
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../../tools/build-docker-image
|
1
docker/centos/source/heat/heat-engine/config-external.sh
Symbolic link
1
docker/centos/source/heat/heat-engine/config-external.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../common/heat/heat-engine/config-external.sh
|
1
docker/centos/source/heat/heat-engine/config-internal.sh
Symbolic link
1
docker/centos/source/heat/heat-engine/config-internal.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../common/heat/heat-engine/config-internal.sh
|
1
docker/centos/source/heat/heat-engine/start.sh
Symbolic link
1
docker/centos/source/heat/heat-engine/start.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../../common/heat/heat-engine/start.sh
|
Loading…
Reference in New Issue
Block a user