diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2018-09-02 09:23:55 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-09-02 09:23:55 +0000 |
commit | 57bd36e426ef797cbc66f4031d612701671f7252 (patch) | |
tree | 7f40aea8a9716cc549cfa10df78cabebeb4c3f07 /docker/core/Dockerfile | |
parent | cdeeacd093740b87865dfbffb92c6c6d5b917d3b (diff) | |
parent | f66d763ada605cbca98f2bdf444ee5c625003965 (diff) |
Merge "Optimize fetch"
Diffstat (limited to 'docker/core/Dockerfile')
-rw-r--r-- | docker/core/Dockerfile | 2 |
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 && \ |