aboutsummaryrefslogtreecommitdiff
path: root/docker/murano
diff options
context:
space:
mode:
authorSamYaple <sam@yaple.net>2015-12-27 02:41:30 +0000
committerSamYaple <sam@yaple.net>2015-12-27 03:35:35 +0000
commitcda0459ad1c6c51ec5de3bd4492c96e1db48c4d7 (patch)
tree6479fa1fe24ec8adf078253ff95b34b136dda9dc /docker/murano
parent44576361670deadfed68f5d516524d95e54461d5 (diff)
downloadkolla-cda0459ad1c6c51ec5de3bd4492c96e1db48c4d7.tar.gz
kolla-cda0459ad1c6c51ec5de3bd4492c96e1db48c4d7.zip
Fix pip install settings
There were some inconsistencies with pip install instructions thoughout Kolla. We fix those here. Additionally, we fix the virtualenv to properly use the site-packages on the host if a library is not available in the venv. Change-Id: Ib84d48e8826bb96060338b3fa0782620c98794a8 Related-Bug: #1524684 Closes-Bug: #1529434
Diffstat (limited to 'docker/murano')
-rw-r--r--docker/murano/murano-base/Dockerfile.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/murano/murano-base/Dockerfile.j2 b/docker/murano/murano-base/Dockerfile.j2
index d95c8cb68..6b9fa4b92 100644
--- a/docker/murano/murano-base/Dockerfile.j2
+++ b/docker/murano/murano-base/Dockerfile.j2
@@ -11,7 +11,7 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
ADD murano-base-archive /murano-base-source
RUN ln -s murano-base-source/* murano \
&& useradd --user-group murano \
- && /var/lib/kolla/venv/bin/pip --no-cache-dir install -c requirements/upper-constraints.txt /murano \
+ && /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /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