Skip to content

Commit

Permalink
Merge pull request #17973 from vector-im/jryans/rm-canvas-docker-deps
Browse files Browse the repository at this point in the history
Remove canvas native dependencies from Dockerfile
  • Loading branch information
jryans authored Jul 13, 2021
2 parents c695ae0 + 3c10bc5 commit 20e5e86
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ ARG REACT_SDK_BRANCH="master"
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
RUN apt-get update && apt-get install -y git dos2unix

WORKDIR /src

Expand Down

0 comments on commit 20e5e86

Please sign in to comment.