From 7550474470e974d52e1407ce09da1694e7547500 Mon Sep 17 00:00:00 2001 From: John Coffey Date: Fri, 9 Oct 2026 14:34:15 -0700 Subject: [PATCH] build: pull base images through mirror.gcr.io GitHub's shared runners keep hitting Docker Hub's anonymous pull limit (429 on node, alpine), failing docker-build on every PR and blocking the release build. mirror.gcr.io serves the same official images (digests checked against Docker Hub on 2026-10-09) without that limit. --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index adb1777..b4bee82 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,8 @@ # ---- build stage ---- -FROM node:26-alpine AS build +# Docker Hub's official images, pulled through Google's mirror: GitHub's +# shared runners hit Docker Hub's anonymous pull limit (429), which the +# mirror is not subject to. Same images, same digests (checked 2026-10-09). +FROM mirror.gcr.io/library/node:26-alpine AS build # What this build calls itself: 2.16., worked out by whoever runs the # build. It cannot be worked out in here -- .dockerignore keeps .git out of the # context on purpose, and git is not installed either. `node scripts/version.mjs` @@ -25,7 +28,7 @@ COPY . . RUN npm run build # ---- runtime stage ---- -FROM node:26-alpine AS runtime +FROM mirror.gcr.io/library/node:26-alpine AS runtime # Re-declared: an ARG does not cross stages. ARG IHASMAIL_VERSION="" ARG BASE_PATH="" -- 2.54.0