From 86185e8186ee7737ee2e47aba477ebc06f534315 Mon Sep 17 00:00:00 2001 From: Matt Cengia Date: Fri, 31 Jul 2020 22:25:21 +1000 Subject: [PATCH] Document packages for installing Canvas via Docker Signed-off-by: Matt Cengia --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 98d59e73..92d35e7d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ 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 \ +# These packages are required for building Canvas on architectures like Arm +# See https://www.npmjs.com/package/canvas#compiling build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev WORKDIR /src