From e439ef43e282312ad9f3d6c3994fa42ae068eeac Mon Sep 17 00:00:00 2001 From: JamBalaya56562 Date: Wed, 3 Jun 2026 05:21:49 +0000 Subject: [PATCH] fix(examples): pull gin base images from ECR Public mirror The gin example was the only one still pulling its base images (golang:1.18-alpine, alpine:3.9) directly from Docker Hub, which caused the test-image (gin) CI job to fail with registry-1.docker.io connection timeouts (Docker Hub anonymous pull rate limits). Switch both stages to the public.ecr.aws/docker/library mirror to match every other example, and bump to golang:1.23-alpine / alpine:3.20. Co-Authored-By: Claude Opus 4.8 --- examples/gin/app/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/gin/app/Dockerfile b/examples/gin/app/Dockerfile index 2b47bd61..e8e78c3f 100644 --- a/examples/gin/app/Dockerfile +++ b/examples/gin/app/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18-alpine AS build_base +FROM public.ecr.aws/docker/library/golang:1.23-alpine AS build_base RUN apk add --no-cache git WORKDIR /tmp/gin @@ -6,7 +6,7 @@ COPY . . RUN go mod download RUN GOOS=linux CGO_ENABLED=0 go build -o bootstrap . -FROM alpine:3.9 +FROM public.ecr.aws/docker/library/alpine:3.20 RUN apk add ca-certificates COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:1.0.1 /lambda-adapter /opt/extensions/lambda-adapter COPY --from=build_base /tmp/gin/bootstrap /app/bootstrap