mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-11-22 22:17:57 +00:00
`docs/deployment.md` listed Docker 20.10+ as the minimum, without separating running the published image from building it. The Dockerfile needs BuildKit (`# syntax=docker/dockerfile:1` on line 1, `RUN --mount` from line 71), and BuildKit is the default builder only from Docker 23.0. On 20.10 to 22.x the legacy builder rejects `RUN --mount` unless `DOCKER_BUILDKIT=1` is set. Found while reviewing #2359. Changes: - `docs/deployment.md`: the requirements table gets two Docker rows, 20.10+ to run the published image, and 23.0+ (or 20.10+ with `DOCKER_BUILDKIT=1`) to build it, plus one sentence on why. - `docs/go-migration.md`: that guide builds the image, so its prerequisite becomes 23.0+ (or 20.10+ with `DOCKER_BUILDKIT=1`). Not verified: I did not run a build on Docker 20.10 or 22.x; the legacy-builder behaviour comes from Docker's documentation, not from a test here. Podman and buildah are not covered. Docs only. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>