Steven Dake 7606d589b4 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
2015-07-14 18:45:54 -07:00

17 lines
403 B
Docker
Executable File

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"]