aboutsummaryrefslogtreecommitdiff
path: root/docker/murano/murano-base/Dockerfile.j2
blob: cb700e5e0c78c86a3717a37d7478e5df40737214 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 \
    && useradd --user-group murano \
    && pip --no-cache-dir install /murano \
    && mkdir -p /etc/murano /var/log/murano /home/murano \
    && cp -r /murano/etc/murano/* /etc/murano/ \
    && chown -R murano: /etc/murano /var/log/murano /home/murano

{% endif %}