From 1b440e92ba33453b8c80e9faf9801b9a0e6a10f3 Mon Sep 17 00:00:00 2001 From: dingo Date: Sat, 28 Feb 2026 12:11:45 +0000 Subject: [PATCH] build(web): install fontconfig in build stage for Godot HTML5 export --- Client/origin-client/Dockerfile.web | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Client/origin-client/Dockerfile.web b/Client/origin-client/Dockerfile.web index 7925d74..eec5c2e 100644 --- a/Client/origin-client/Dockerfile.web +++ b/Client/origin-client/Dockerfile.web @@ -2,6 +2,9 @@ FROM barichello/godot-ci:4.5 AS build WORKDIR /project COPY . . +# Godot web export depends on fontconfig in this runner image. +RUN apt-get update && apt-get install -y --no-install-recommends fontconfig && rm -rf /var/lib/apt/lists/* + # Web export in Godot 4 requires Compatibility renderer; project defaults may differ. # Harden CI: ensure export preset exists and editor cache paths are writable. RUN test -f export_presets.cfg || cat > export_presets.cfg <<'CFG'