aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/murano/murano-api/Dockerfile.j28
-rw-r--r--docker/murano/murano-base/Dockerfile.j213
-rw-r--r--docker/murano/murano-engine/Dockerfile.j28
3 files changed, 21 insertions, 8 deletions
diff --git a/docker/murano/murano-api/Dockerfile.j2 b/docker/murano/murano-api/Dockerfile.j2
index 76b23f939..d02e4b3aa 100644
--- a/docker/murano/murano-api/Dockerfile.j2
+++ b/docker/murano/murano-api/Dockerfile.j2
@@ -2,7 +2,13 @@ FROM {{ namespace }}/{{ image_prefix }}murano-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
- {% if base_distro in ['ubuntu'] %}
+ {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
+
+RUN yum -y install \
+ openstack-murano-api \
+ && yum clean all
+
+ {% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
murano-api \
diff --git a/docker/murano/murano-base/Dockerfile.j2 b/docker/murano/murano-base/Dockerfile.j2
index 26fc7618e..d9737c1df 100644
--- a/docker/murano/murano-base/Dockerfile.j2
+++ b/docker/murano/murano-base/Dockerfile.j2
@@ -2,17 +2,18 @@ FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
- {% if base_distro in ['ubuntu'] %}
+ {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
+
+RUN yum -y install \
+ openstack-murano-common \
+ && yum clean all
+
+ {% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
murano-common \
&& apt-get clean
- {% else %}
-
-RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
- && /bin/false
-
{% endif %}
{% elif install_type == 'source' %}
diff --git a/docker/murano/murano-engine/Dockerfile.j2 b/docker/murano/murano-engine/Dockerfile.j2
index c3a1557ec..6bd67f8c9 100644
--- a/docker/murano/murano-engine/Dockerfile.j2
+++ b/docker/murano/murano-engine/Dockerfile.j2
@@ -2,7 +2,13 @@ FROM {{ namespace }}/{{ image_prefix }}murano-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
- {% if base_distro in ['ubuntu'] %}
+ {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
+
+RUN yum -y install \
+ openstack-murano-engine \
+ && yum clean all
+
+ {% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
murano-engine \