Update: Change Testing repo to Sid repo for node v18.0.0

Signed-off-by: Siroco <siroco@piperrak.cc>
master
Siroco 2 months ago
parent 4b8331d68e
commit 14ae4b6526
Signed by: siroco
GPG Key ID: 1324098302A514B0
  1. 7
      Dockerfile

@ -7,11 +7,12 @@ ARG REACT_SDK_REPO="https://github.com/matrix-org/matrix-react-sdk.git"
ARG REACT_SDK_BRANCH="master"
ARG JS_SDK_REPO="https://github.com/matrix-org/matrix-js-sdk.git"
ARG JS_SDK_BRANCH="master"
ARG NODE_OPTIONS="--openssl-legacy-provider"
# a hack to get nodejs >= 14, let's change it as soon as is in backports
RUN echo "deb http://deb.debian.org/debian testing main" >> /etc/apt/sources.list && \
RUN echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list && \
apt-get update && \
apt-get install -y --no-install-recommends -t testing nodejs
apt-get install -y --no-install-recommends -t sid nodejs
RUN apt-get update && apt-get install -y git dos2unix yarnpkg gnupg jq curl ca-certificates
RUN git clone https://github.com/vector-im/element-web/ /src
@ -26,7 +27,7 @@ RUN TAG_NAME=`curl -s https://api.github.com/repos/vector-im/element-web/release
git checkout $TAG_NAME
RUN dos2unix /src/scripts/docker-link-repos.sh && bash /src/scripts/docker-link-repos.sh
RUN NODE_OPTIONS=--openssl-legacy-provider yarnpkg install
RUN yarnpkg install
RUN dos2unix /src/scripts/docker-package.sh && \
sed -i 's/yarn/yarnpkg/' /src/scripts/docker-package.sh && \

Loading…
Cancel
Save