From 2cb24dc687ca621c177c4881bc6b023999b63589 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 25 Aug 2018 10:46:29 +0200 Subject: Update pip to last version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It allows downloading refs (gerrit reviews). Change-Id: I303f9b753f560fdf945997c7a86e1e29fbd59a06 Signed-off-by: Cédric Ollivier --- docker/core/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docker/core/Dockerfile') diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile index 390b00d85..bc526dc41 100644 --- a/docker/core/Dockerfile +++ b/docker/core/Dockerfile @@ -2,6 +2,7 @@ FROM alpine:3.7 ARG BRANCH=master ARG OPENSTACK_TAG=stable/queens +ARG PIP_TAG=18.0 RUN apk --no-cache add --update \ python libffi libssl1.0 libjpeg-turbo py-pip bash \ @@ -11,6 +12,9 @@ RUN apk --no-cache add --update \ openssl-dev libjpeg-turbo-dev && \ wget -q -O- https://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH | \ sed -E /#egg=functest/d > upper-constraints.txt && \ + pip install --no-cache-dir --src /src -cupper-constraints.txt \ + -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \ + pip==$PIP_TAG && \ git clone https://gerrit.opnfv.org/gerrit/functest /src/functest && \ (cd /src/functest && git fetch origin $BRANCH && git checkout FETCH_HEAD) && \ pip install --no-cache-dir --src /src -cupper-constraints.txt \ -- cgit 1.2.3-korg