Merge pull request #12612 from Pestdoktor/docker-cleanup

docker: optimize custom sdk builds
This commit is contained in:
Travis Ralston 2020-03-05 10:05:15 -07:00 committed by GitHub
commit 71f2f0e7c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -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