Skip to content

Commit 86185e8

Browse files
committed
Document packages for installing Canvas via Docker
Signed-off-by: Matt Cengia <mattcen@mattcen.com>
1 parent fb79373 commit 86185e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ARG JS_SDK_REPO="https://github.com/matrix-org/matrix-js-sdk.git"
1010
ARG JS_SDK_BRANCH="master"
1111

1212
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
1315
build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
1416

1517
WORKDIR /src

0 commit comments

Comments
 (0)