diff --git a/Dockerfile b/Dockerfile index 908c05520cc..d46924865c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,15 +6,12 @@ ARG USE_CUSTOM_SDKS=false ARG JS_SDK_REPO="https://github.com/matrix-org/matrix-js-sdk.git" ARG JS_SDK_BRANCH="master" -RUN apt-get update && apt-get install -y git dos2unix - WORKDIR /src COPY . /src -RUN dos2unix /src/scripts/docker-link-repos.sh && bash /src/scripts/docker-link-repos.sh +RUN /src/scripts/docker-link-repos.sh RUN yarn --network-timeout=200000 install - -RUN dos2unix /src/scripts/docker-package.sh /src/scripts/get-version-from-git.sh /src/scripts/normalize-version.sh && bash /src/scripts/docker-package.sh +RUN /src/scripts/docker-package.sh # Copy the config now so that we don't create another layer in the app image RUN cp /src/config.sample.json /src/webapp/config.json