We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66ca5f3 + 86185e8 commit 7e3527fCopy full SHA for 7e3527f
Dockerfile
@@ -1,5 +1,5 @@
1
# Builder
2
-FROM node:10 as builder
+FROM node:12 as builder
3
4
# Support custom branches of the react-sdk and js-sdk. This also helps us build
5
# images of riot-web develop.
@@ -9,7 +9,10 @@ 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"
11
12
-RUN apt-get update && apt-get install -y git dos2unix
+RUN apt-get update && apt-get install -y git dos2unix \
13
+# These packages are required for building Canvas on architectures like Arm
14
+# See https://www.npmjs.com/package/canvas#compiling
15
+ build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
16
17
WORKDIR /src
18
0 commit comments