Ubuntu - Murano
Change-Id: Ie0fb8c57a1e8c67fc8b8c219ceb15a2c3e2e0f35 Partially-Implements: blueprint install-from-ubuntu
This commit is contained in:
parent
44aa4af5f5
commit
a5ceb87777
@ -2,7 +2,6 @@ FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-murano-base:{{ tag }}
|
|||||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||||
|
|
||||||
COPY config-external.sh /opt/kolla/
|
COPY config-external.sh /opt/kolla/
|
||||||
|
|
||||||
COPY start.sh /
|
COPY start.sh /
|
||||||
|
|
||||||
CMD ["/start.sh"]
|
CMD ["/start.sh"]
|
||||||
|
@ -8,16 +8,16 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
|||||||
|
|
||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
|
|
||||||
ADD ./murano.tar /
|
ADD murano.tar /
|
||||||
RUN ln -s /murano-* /murano
|
RUN ln -s /murano-* /murano
|
||||||
|
|
||||||
RUN cd /murano \
|
RUN cd /murano \
|
||||||
|
&& useradd --user-group murano \
|
||||||
&& pip install -r requirements.txt \
|
&& pip install -r requirements.txt \
|
||||||
&& pip install /murano \
|
&& pip install --install-option="--install-scripts=/usr/bin" /murano \
|
||||||
&& mkdir /etc/murano \
|
&& mkdir -p /etc/murano /var/log/murano /home/murano \
|
||||||
&& cd /murano \
|
&& cp -r /murano/etc/murano/* /etc/murano/ \
|
||||||
&& tox -e genconfig \
|
&& chown -R murano: /etc/murano /var/log/murano /home/murano \
|
||||||
&& cp -r etc/murano/* /etc/murano/ \
|
|
||||||
&& rm -rf /root/.cache
|
&& rm -rf /root/.cache
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -2,7 +2,6 @@ FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-murano-base:{{ tag }}
|
|||||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||||
|
|
||||||
COPY config-external.sh /opt/kolla/
|
COPY config-external.sh /opt/kolla/
|
||||||
|
|
||||||
COPY start.sh /
|
COPY start.sh /
|
||||||
|
|
||||||
CMD ["/start.sh"]
|
CMD ["/start.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user