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 395f761870
commit c52dce6702
3 changed files with 30 additions and 5 deletions
+15
View File
@@ -0,0 +1,15 @@
# CI builder image for Phaser projects: Node (syntax check) + packaging
# tools, so the pipeline's build step does not run apk on every run.
#
# Build & push (the CI runner is linux/amd64):
# docker build --platform linux/amd64 -f builder.Dockerfile \
# -t git.teletype.hu/internal/phaser-builder:latest .
# docker push git.teletype.hu/internal/phaser-builder:latest
FROM node:22-alpine
RUN apk add --no-cache make zip curl git
WORKDIR /workspace
CMD ["/bin/sh"]