From 58cea88f52232f68709a18c21994f93cbc70af7f Mon Sep 17 00:00:00 2001 From: Masahiko AMANO Date: Tue, 16 Jun 2026 12:15:23 +0300 Subject: [PATCH] fix(project): drop external dockerfile frontend directive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `# syntax=docker/dockerfile:1` line made BuildKit fetch its frontend image from Docker Hub on every build, even when all base images and layers were already cached. On a host that briefly can't resolve registry-1.docker.io this is the first and only mandatory network round-trip, so the build fails at "resolve image config for docker-image://docker.io/docker/dockerfile:1" before any stage runs. This Dockerfile uses no frontend-specific syntax (no heredocs, no RUN --mount, no COPY --link) — only multi-stage, COPY --from/--chown, RUN, ENV, etc., all handled by the engine's built-in frontend. Dropping the directive removes the Docker Hub dependency and lets a fully cached build complete offline. Co-Authored-By: Claude Opus 4.8 --- Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8d6c706..14a72c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,3 @@ -# syntax=docker/dockerfile:1 - # ============================================================================= # Tanabata File Manager — single-image build #