From dab56ae10e1c9a135d95ad812a0421a73d4bf6ee Mon Sep 17 00:00:00 2001 From: Jeremy Frasier Date: Fri, 29 May 2026 12:45:53 -0400 Subject: [PATCH] Pull AWS Lambda Docker images from AWS' public ECR Since the images are created by AWS, this just makes more sense. Also, the images for the latest Python runtime (3.14) are not on Docker Hub for some reason. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bc8ff4d..7a4f245 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # # Official Docker images are in the form library/ while # non-official images are in the form /. -FROM docker.io/amazon/aws-lambda-python:3.9 AS install-stage +FROM public.ecr.aws/lambda/python:3.9 AS install-stage # Install the Python packages necessary to install the Lambda dependencies. RUN python3 -m pip install --no-cache-dir \ @@ -29,7 +29,7 @@ RUN pipenv sync --system --extra-pip-args="--no-cache-dir --target ${LAMBDA_TASK # # Official Docker images are in the form library/ while # non-official images are in the form /. -FROM docker.io/amazon/aws-lambda-python:3.9 AS build-stage +FROM public.ecr.aws/lambda/python:3.9 AS build-stage ### # For a list of pre-defined annotation keys and value types see: