Add CI builder image and use it in the pipeline

builder.Dockerfile bakes the build step's dependencies into
git.teletype.hu/internal/* so the pipeline no longer installs
packages on every run.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-31 19:17:14 +02:00
co-authored by Claude Fable 5
parent f5bd3e4a30
commit 463cce6a52
3 changed files with 38 additions and 5 deletions
+20
View File
@@ -0,0 +1,20 @@
# CI builder image for Godot projects: barichello/godot-ci (editor + web
# export templates) with make/zip preinstalled, so the pipeline's build step
# does not run apt-get on every run.
#
# Keep the tag in sync with the Godot version the projects use.
#
# Build & push (the CI runner is linux/amd64):
# docker build --platform linux/amd64 -f builder.Dockerfile \
# --build-arg GODOT_VERSION=4.6 \
# -t git.teletype.hu/internal/godot-builder:4.6 .
# docker push git.teletype.hu/internal/godot-builder:4.6
ARG GODOT_VERSION=4.6
FROM barichello/godot-ci:${GODOT_VERSION}
RUN apt-get update \
&& apt-get install -y --no-install-recommends make zip jq \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /workspace