Merge "Use pip upper-constraints in magnum-base"

This commit is contained in:
Jenkins 2015-11-17 22:20:35 +00:00 committed by Gerrit Code Review
commit bfcbdc41f8

View File

@ -21,7 +21,7 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
ADD magnum-base-archive /magnum-base-source ADD magnum-base-archive /magnum-base-source
RUN ln -s magnum-base-source/* magnum \ RUN ln -s magnum-base-source/* magnum \
&& useradd --user-group magnum \ && useradd --user-group magnum \
&& pip --no-cache-dir install /magnum \ && pip --no-cache-dir install -c requirements/upper-constraints.txt /magnum \
&& mkdir -p /etc/magnum /var/log/magnum /home/magnum \ && mkdir -p /etc/magnum /var/log/magnum /home/magnum \
&& cp -r /magnum/etc/* /etc/magnum/ \ && cp -r /magnum/etc/* /etc/magnum/ \
&& chown -R magnum: /etc/magnum /var/log/magnum /home/magnum && chown -R magnum: /etc/magnum /var/log/magnum /home/magnum