launch/infra/ci-base.Dockerfile
2026-07-17 12:00:37 +00:00

15 lines
910 B
Docker

# platform-ci-base — the job container image for the deploy flow.
# Baked in so the action needs no `apk add` per run and static builds run in-place.
#
# Based on docker:24.0.7 ON PURPOSE: apk's docker CLI 28.x mishandles RUN heredocs
# under BuildKit and built an EMPTY /start.sh for crime (→ "exec format error").
# docker:24.0.7 is the exact CLI the original job used, so docker builds are identical.
# bun is copied in from oven/bun for the in-place static build path.
#
# Build on the host (no registry — runner uses it locally via container.force_pull=false):
# docker build -t platform-ci-base:latest -f ci-base.Dockerfile .
# Rebuild it if it ever gets pruned (`docker image prune -a` would remove it).
FROM docker:24.0.7
COPY --from=oven/bun:1-alpine /usr/local/bin/bun /usr/local/bin/bun
RUN apk add --no-cache git jq bind-tools rsync libstdc++ libgcc \
&& docker --version && bun --version