From 1d0b8afa8beef9b99509e0ec14878c665097a640 Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Tue, 17 Nov 2015 17:13:15 +0000 Subject: [PATCH] Use pip upper-constraints in magnum-base Change-Id: Ibb5636d897c2b9177c54dfc13f6193e00107776b Closes-Bug: #1517144 --- docker/magnum/magnum-base/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/magnum/magnum-base/Dockerfile.j2 b/docker/magnum/magnum-base/Dockerfile.j2 index de0dab422c..06cad1d5be 100644 --- a/docker/magnum/magnum-base/Dockerfile.j2 +++ b/docker/magnum/magnum-base/Dockerfile.j2 @@ -21,7 +21,7 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \ ADD magnum-base-archive /magnum-base-source RUN ln -s magnum-base-source/* 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 \ && cp -r /magnum/etc/* /etc/magnum/ \ && chown -R magnum: /etc/magnum /var/log/magnum /home/magnum