From cfb1927b205240026256ed5c085f5e90b2541085 Mon Sep 17 00:00:00 2001 From: Maxim Medvedev Date: Thu, 9 Jan 2025 20:04:08 +0100 Subject: [PATCH] Server: fix build ARM64 images --- Dockerfile.server | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile.server b/Dockerfile.server index 8c1742827e9..2ab61b9404f 100644 --- a/Dockerfile.server +++ b/Dockerfile.server @@ -7,6 +7,9 @@ FROM node:18 AS builder RUN apt-get update \ && apt-get install -y \ python3 tini \ + # needed for node-canvas for ARM32 platform. + # See also https://github.com/Automattic/node-canvas/wiki/Installation:-Ubuntu-and-other-Debian-based-systems + libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev \ && rm -rf /var/lib/apt/lists/* # Enables Yarn