build(web): install fontconfig in build stage for Godot HTML5 export
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user