build(web): install fontconfig in build stage for Godot HTML5 export

This commit is contained in:
dingo
2026-02-28 12:11:45 +00:00
parent 80c0f4d372
commit 1b440e92ba
+3
View File
@@ -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'