Templatize Murano container
Murano is not available in RDO so only from source install works. Change-Id: I77aacea53b8e7782c04495f43ea7e668eaee06ab Partially-implements: blueprint dockerfile-template
This commit is contained in:
parent
b11321cedc
commit
b4e9f56db4
8
docker_templates/murano/murano-api/Dockerfile.j2
Normal file
8
docker_templates/murano/murano-api/Dockerfile.j2
Normal file
@ -0,0 +1,8 @@
|
||||
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-murano-base:{{ tag }}
|
||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||
|
||||
COPY config-external.sh /opt/kolla/
|
||||
|
||||
COPY start.sh /
|
||||
|
||||
CMD ["/start.sh"]
|
1
docker_templates/murano/murano-api/config-external.sh
Symbolic link
1
docker_templates/murano/murano-api/config-external.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../docker/common/murano/murano-api/config-external.sh
|
1
docker_templates/murano/murano-api/start.sh
Symbolic link
1
docker_templates/murano/murano-api/start.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../docker/common/murano/murano-api/start.sh
|
23
docker_templates/murano/murano-base/Dockerfile.j2
Normal file
23
docker_templates/murano/murano-base/Dockerfile.j2
Normal file
@ -0,0 +1,23 @@
|
||||
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }}
|
||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||
|
||||
{% if install_type == 'binary' %}
|
||||
|
||||
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
||||
&& /bin/false
|
||||
|
||||
{% elif install_type == 'source' %}
|
||||
|
||||
ADD ./murano.tar /
|
||||
RUN ln -s /murano-* /murano
|
||||
|
||||
RUN cd /murano \
|
||||
&& pip install -r requirements.txt \
|
||||
&& pip install /murano \
|
||||
&& mkdir /etc/murano \
|
||||
&& cd /murano \
|
||||
&& tox -e genconfig \
|
||||
&& cp -r etc/murano/* /etc/murano/ \
|
||||
&& rm -rf /root/.cache
|
||||
|
||||
{% endif %}
|
8
docker_templates/murano/murano-engine/Dockerfile.j2
Normal file
8
docker_templates/murano/murano-engine/Dockerfile.j2
Normal file
@ -0,0 +1,8 @@
|
||||
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-murano-base:{{ tag }}
|
||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||
|
||||
COPY config-external.sh /opt/kolla/
|
||||
|
||||
COPY start.sh /
|
||||
|
||||
CMD ["/start.sh"]
|
1
docker_templates/murano/murano-engine/config-external.sh
Symbolic link
1
docker_templates/murano/murano-engine/config-external.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../docker/common/murano/murano-engine/config-external.sh
|
1
docker_templates/murano/murano-engine/start.sh
Symbolic link
1
docker_templates/murano/murano-engine/start.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../docker/common/murano/murano-engine/start.sh
|
Loading…
Reference in New Issue
Block a user