summaryrefslogtreecommitdiffstats
path: root/docker/core
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-09-02 11:58:07 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-09-02 11:58:07 +0200
commitee12ace8b954f6232ed9cfc41364fb9420d678db (patch)
treebb027f407befd200c56a10040aa605b834cdefcc /docker/core
parent05a54e2c30ef4050da42683b35d04c984f53bd8c (diff)
Allow building Alpine containers from any gerrit changes
Next pip release will allow installing from git ref. We will install it from git till it's released. Change-Id: I4f26c5a137ca94e9925bd64787c8572848154850 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/core')
-rw-r--r--docker/core/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index 172dbb9fa..0ab809aad 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -13,6 +13,9 @@ RUN apk --no-cache add --update \
wget -q -O- https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG | \
sed -E s/^tempest==+\(.*\)$/-e\ git+https:\\/\\/github.com\\/openstack\\/tempest@\\1#egg=tempest/ \
> upper-constraints.txt && \
+ pip install -U --no-cache-dir -cupper-constraints.txt \
+ -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
+ git+https://github.com/pypa/pip.git && \
pip install --no-cache-dir --src /src -cupper-constraints.txt \
-chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
-e git+https://github.com/openstack/requirements@stable/ocata#egg=openstack_requirements && \