Image builds no longer fetch the Dockerfile syntax image from Docker Hub #394

Merged
claude merged 2 commits from feature/381-dockerfile-syntax-pin into develop 2026-11-12 23:12:18 -05:00
Owner

Image builds no longer ask Docker Hub for a Dockerfile frontend image.

  • Cause: Dockerfile and docker/ci.Dockerfile started with # syntax=docker/dockerfile:1, which makes BuildKit resolve that tag on Docker Hub on every build. Nothing pinned it.
  • Fix: the line is removed from both files (the only two with it). Neither uses anything the built-in frontend lacks, so removal leaves no unpinned pull and no pin for the weekly job to keep current.
  • What it costs: building the image yourself now needs Docker Engine 23.0 or later and buildx 0.8 or later, because the named build context needs a built-in frontend of Dockerfile 1.4 or newer. README "Building the image yourself", the notes at the top of both Dockerfiles and the CHANGELOG say so.

Verified

  • The main Dockerfile builds fully, and the lint and packages targets of docker/ci.Dockerfile build, on the runner's Docker 29.9.3 with buildx 0.38.2.
  • Version floor: buildx 0.8.0 release notes (--build-context, needs frontend 1.4), BuildKit 0.10.0 release notes (built-in frontend 1.4.0), moby vendor.mod at v23.0.0 (BuildKit 0.10.6). Not tested on an old engine.
  • Verifier: accepted; its finding (no stated minimum version) is fixed in the second commit.
  • lint.sh: Markdown links and the script self-tests pass locally.

Closes #381

🤖 Generated with Claude Code

https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK

Image builds no longer ask Docker Hub for a Dockerfile frontend image. - **Cause:** `Dockerfile` and `docker/ci.Dockerfile` started with `# syntax=docker/dockerfile:1`, which makes BuildKit resolve that tag on Docker Hub on every build. Nothing pinned it. - **Fix:** the line is removed from both files (the only two with it). Neither uses anything the built-in frontend lacks, so removal leaves no unpinned pull and no pin for the weekly job to keep current. - **What it costs:** building the image yourself now needs Docker Engine 23.0 or later and buildx 0.8 or later, because the named build context needs a built-in frontend of Dockerfile 1.4 or newer. README "Building the image yourself", the notes at the top of both Dockerfiles and the CHANGELOG say so. **Verified** - The main `Dockerfile` builds fully, and the `lint` and `packages` targets of `docker/ci.Dockerfile` build, on the runner's Docker 29.9.3 with buildx 0.38.2. - Version floor: buildx 0.8.0 release notes (`--build-context`, needs frontend 1.4), BuildKit 0.10.0 release notes (built-in frontend 1.4.0), moby `vendor.mod` at `v23.0.0` (BuildKit 0.10.6). Not tested on an old engine. - Verifier: accepted; its finding (no stated minimum version) is fixed in the second commit. - `lint.sh`: Markdown links and the script self-tests pass locally. Closes #381 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #381

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Building the image yourself documents the Docker Engine and buildx versions it needs
Some checks failed
Build / Smoke Test the Windows Binary (push) Has been skipped
Build / Build Binary (macos-arm64) (push) Has been skipped
Build / Build Binary (windows-amd64) (push) Has been skipped
Build / Build Arch Linux Packages (push) Has been skipped
Build / Build and Test Deb and RPM Packages (push) Has been skipped
Build / Build and Push Image (push) Has been skipped
Build / Publish Release (push) Has been skipped
Build / Pipeline (push) Failing after 0s
Build / Test .NET on Windows (pull_request) Has been skipped
Build / Compute Version (pull_request) Successful in -2m32s
Build / Lint and Script Tests (pull_request) Successful in -2m8s
Build / Windows Test Gate (pull_request) Successful in -2m37s
Build / Test Admin Console (pull_request) Successful in -1m16s
Build / Test .NET (pull_request) Successful in 8m18s
Build / Stage Draft Release (pull_request) Successful in -2m35s
Build / Pack and Push NuGet Packages (common) (pull_request) Successful in -2m23s
Build / Pack and Push NuGet Packages (dhcp) (pull_request) Successful in -2m10s
Build / Pack and Push NuGet Packages (dns-core) (pull_request) Successful in -2m5s
Build / Pack and Push NuGet Packages (dns-server) (pull_request) Successful in -2m6s
Build / Build Binary (linux-amd64) (pull_request) Successful in -1m0s
Build / Build Binary (linux-arm64) (pull_request) Successful in -1m2s
Build / Build Binary (macos-amd64) (pull_request) Successful in -1m14s
Build / Build Binary (macos-arm64) (pull_request) Successful in -58s
Build / Build Binary (windows-amd64) (pull_request) Successful in -59s
Build / Smoke Test the Windows Binary (pull_request) Successful in 17s
Build / Build Arch Linux Packages (pull_request) Successful in -2m12s
Build / Build and Push Image (pull_request) Successful in -2m29s
Build / Build and Test Deb and RPM Packages (pull_request) Successful in 1m8s
Build / Publish Release (pull_request) Successful in -2m35s
Build / Pipeline (pull_request) Successful in 0s
3c7ef76ee9
Closes #381

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
claude merged commit 5e8da9f1cd into develop 2026-11-12 23:12:18 -05:00
claude deleted branch feature/381-dockerfile-syntax-pin 2026-11-12 23:12:19 -05:00
Sign in to join this conversation.
No reviewers
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lantea-one/ninlil!394
No description provided.