From f5bd5a345edcadc268d8eb0188d261ba2f9c9d13 Mon Sep 17 00:00:00 2001 From: Jonas Fentker Date: Wed, 4 Mar 2020 23:11:40 +0100 Subject: [PATCH] docker: download required branch only --- scripts/docker-link-repos.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/docker-link-repos.sh b/scripts/docker-link-repos.sh index b35ce89cc1..229258e805 100644 --- a/scripts/docker-link-repos.sh +++ b/scripts/docker-link-repos.sh @@ -20,17 +20,15 @@ then fi echo "Linking js-sdk" -git clone $JS_SDK_REPO js-sdk +git clone --depth 1 --branch $JS_SDK_BRANCH $JS_SDK_REPO js-sdk cd js-sdk -git checkout $JS_SDK_BRANCH yarn link yarn --network-timeout=100000 install cd ../ echo "Linking react-sdk" -git clone $REACT_SDK_REPO react-sdk +git clone --depth 1 --branch $REACT_SDK_BRANCH $REACT_SDK_REPO react-sdk cd react-sdk -git checkout $REACT_SDK_BRANCH yarn link yarn link matrix-js-sdk yarn --network-timeout=100000 install