Skip to content

Commit 984ca3a

Browse files
Create docker image containing modified react-sdk
Change-Id: I407ce1ea639380daad2cca4993e8940ae782c15e
1 parent 985d49a commit 984ca3a

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ FROM node:10 as builder
33

44
# Support custom branches of the react-sdk and js-sdk. This also helps us build
55
# images of riot-web develop.
6-
ARG USE_CUSTOM_SDKS=false
7-
ARG REACT_SDK_REPO="https://github.com/matrix-org/matrix-react-sdk.git"
8-
ARG REACT_SDK_BRANCH="master"
9-
ARG JS_SDK_REPO="https://github.com/matrix-org/matrix-js-sdk.git"
10-
ARG JS_SDK_BRANCH="master"
6+
ARG USE_CUSTOM_SDKS=true
7+
ARG REACT_SDK_REPO="https://github.com/awesome-technologies/matrix-react-sdk.git"
8+
ARG REACT_SDK_BRANCH="2020.09.0-amp.chat"
119

1210
RUN apt-get update && apt-get install -y git dos2unix
1311

scripts/docker-link-repos.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,12 @@ then
1919
exit 0
2020
fi
2121

22-
echo "Linking js-sdk"
23-
git clone --depth 1 --branch $JS_SDK_BRANCH $JS_SDK_REPO js-sdk
24-
cd js-sdk
25-
yarn link
26-
yarn --network-timeout=100000 install
27-
cd ../
28-
2922
echo "Linking react-sdk"
3023
git clone --depth 1 --branch $REACT_SDK_BRANCH $REACT_SDK_REPO react-sdk
3124
cd react-sdk
3225
yarn link
33-
yarn link matrix-js-sdk
3426
yarn --network-timeout=100000 install
3527
cd ../
3628

3729
echo "Setting up riot-web with react-sdk and js-sdk packages"
38-
yarn link matrix-js-sdk
3930
yarn link matrix-react-sdk

0 commit comments

Comments
 (0)