summaryrefslogtreecommitdiffstats
path: root/docker/core
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-09-02 10:09:08 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-09-02 10:09:08 +0200
commitf66d763ada605cbca98f2bdf444ee5c625003965 (patch)
treefd7059026fa0c81f6fc63d43e621ae194aaa7ae6 /docker/core
parent01a46e85a0e1eca03f2adf7b0f479d79e71fd786 (diff)
Optimize fetch
depth 1 is set when fetching. Change-Id: I1b470d1e370e18de9b3cfa51e5aea0374f76cac6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/core')
-rw-r--r--docker/core/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index ef4eb4413..97e4b17e8 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -16,7 +16,7 @@ RUN apk --no-cache add --update \
-chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \
pip==$PIP_TAG && \
git clone --depth 1 https://gerrit.opnfv.org/gerrit/functest /src/functest && \
- (cd /src/functest && git fetch --tags origin $BRANCH && git checkout FETCH_HEAD) && \
+ (cd /src/functest && git fetch --depth 1 --tags origin $BRANCH && git checkout FETCH_HEAD) && \
pip install --no-cache-dir --src /src -cupper-constraints.txt \
-chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \
/src/functest && \