Skip to content

Commit 6f8c6bf

Browse files
authored
Merge pull request element-hq#9736 from vector-im/travis/docker-test
Make Dockerfile work for develop and other branches
2 parents 45e8c26 + 3123b42 commit 6f8c6bf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ WORKDIR /src
1515

1616
COPY . /src
1717
RUN dos2unix /src/scripts/docker-link-repos.sh && sh /src/scripts/docker-link-repos.sh
18-
RUN yarn install
18+
RUN yarn --network-timeout=100000 install
1919
RUN yarn build
2020

2121
# Copy the config now so that we don't create another layer in the app image

scripts/docker-link-repos.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ git clone $JS_SDK_REPO js-sdk
1313
cd js-sdk
1414
git checkout $JS_SDK_BRANCH
1515
yarn link
16-
yarn install
16+
yarn --network-timeout=100000 install
1717
cd ../
1818

1919
echo "Linking react-sdk"
@@ -22,7 +22,7 @@ cd react-sdk
2222
git checkout $REACT_SDK_BRANCH
2323
yarn link
2424
yarn link matrix-js-sdk
25-
yarn install
25+
yarn --network-timeout=100000 install
2626
cd ../
2727

2828
echo "Setting up riot-web with react-sdk and js-sdk packages"

0 commit comments

Comments
 (0)