Document packages for installing Canvas via Docker

Signed-off-by: Matt Cengia <mattcen@mattcen.com>
pull/14522/head
Matt Cengia 2020-07-31 22:25:21 +10:00
parent fb79373a6d
commit 86185e8186
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ ARG JS_SDK_REPO="https://github.com/matrix-org/matrix-js-sdk.git"
ARG JS_SDK_BRANCH="master" ARG JS_SDK_BRANCH="master"
RUN apt-get update && apt-get install -y git dos2unix \ 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 build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
WORKDIR /src WORKDIR /src