Browse Source

Cleanup pip arguments

--no-cache-dir is now default for microservices venv and there's no need
to pass requirements.txt to pip directly, especially as constraints
file.

Change-Id: Id100bd1972d00353ca93ecbc04c4f1843fe089bf
Yuriy Taraday 2 years ago
parent
commit
4b2d2017d7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      docker/heat-base/Dockerfile.j2

+ 1
- 1
docker/heat-base/Dockerfile.j2 View File

@@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
4 4
 {{ copy_sources("openstack/heat", "/heat") }}
5 5
 
6 6
 RUN useradd --user-group heat \
7
-    && /var/lib/microservices/venv/bin/pip --no-cache-dir install --upgrade -c /heat/requirements.txt /heat \
7
+    && /var/lib/microservices/venv/bin/pip install --upgrade /heat \
8 8
     && mkdir -p /var/lib/heat /etc/heat \
9 9
     && chown -R heat: /var/lib/heat /etc/heat \
10 10
     && cp -r /heat/etc/heat/* /etc/heat \

Loading…
Cancel
Save