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 d387b6db4c
commit 0c043b4d3d
3 changed files with 31 additions and 2 deletions
+13
View File
@@ -30,4 +30,17 @@ The pipeline uploads `$(PROJECT)-$(VERSION).html.zip` to the droparea,
then triggers
`/update?platform=ebitengine&name=$(PROJECT)&version=$(VERSION)`.
## Builder image
`builder.Dockerfile` bakes the pipeline's build-step dependencies
(Go + git/make/zip/curl) into
`git.teletype.hu/internal/ebitengine-builder`, so the build step
no longer runs `apk add` on every run:
```sh
docker build --platform linux/amd64 -f builder.Dockerfile \
-t git.teletype.hu/internal/ebitengine-builder:latest .
docker push git.teletype.hu/internal/ebitengine-builder:latest
```
Detailed documentation lives on the wiki: `/development/ebitengine`.