build-cran-binaries/docker
Repository files (latest commit first)
Filename Latest commit message Latest commit date
pat-s 474a7fe62d
feat(build): raise BuildKit cache-mount budget for remote builders
BuildKit's default GC caps the ephemeral cache tier (RUN
--mount=type=cache mounts, local context, git checkouts) at a hardcoded
512 MB.
Across the 7-distro build matrix that fills instantly and forces
re-downloads of system and R packages on every rebuild.

Add docker/buildkitd.toml and pass it via --config when creating the
docker-container builders (artemis/amd64, gaia/arm64):

- cache-mount tier raised 512 MB -> 8 GB, retained 7 days
- total cache bounded at 40 GB with 20 GB min-free (safe on the
  disk-tight Hetzner host, modest on the Mac mini)

Limits are absolute rather than percentages because the two hosts differ
~6x in free space. Document the --config flag in the justfile so a future
recreate does not silently revert to the 512 MB default.
2026-07-08 10:20:15 +02:00
..
reprex chore: add alpine regex 2024-11-01 19:32:07 +01:00
build-one.Dockerfile perf(local): skip per-minor passes for non-r-minor-sensitive packages 2026-06-14 14:50:40 +02:00
buildkitd.toml feat(build): raise BuildKit cache-mount budget for remote builders 2026-07-08 10:20:15 +02:00
Containerfile-shiny-app refactor: bincraftR -> bincraft 2025-06-08 15:39:54 +02:00