Skip to content

Pull AWS Lambda Docker images from AWS' public ECR#45

Open
jsf9k wants to merge 1 commit into
developfrom
improvement/pull-aws-docker-images-from-ecr
Open

Pull AWS Lambda Docker images from AWS' public ECR#45
jsf9k wants to merge 1 commit into
developfrom
improvement/pull-aws-docker-images-from-ecr

Conversation

@jsf9k

@jsf9k jsf9k commented May 29, 2026

Copy link
Copy Markdown
Member

🗣 Description

This pull request updates the Dockerfile to pull the AWS Lambda Docker images from AWS' public ECR.

💭 Motivation and context

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.

🧪 Testing

All automated tests pass.

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All new and existing tests pass.

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.
@jsf9k jsf9k self-assigned this May 29, 2026
@jsf9k jsf9k added the kraken 🐙 This pull request is ready to merge during the next Lineage Kraken release label May 29, 2026
@jsf9k jsf9k moved this to In Progress in Next Kraken May 29, 2026
@github-actions github-actions Bot added the docker Pull requests that update Docker code label May 29, 2026
@jsf9k jsf9k marked this pull request as ready for review May 29, 2026 16:52
Copilot AI review requested due to automatic review settings May 29, 2026 16:52
@jsf9k jsf9k requested review from dav3r, felddy and mcdonnnj as code owners May 29, 2026 16:52
@jsf9k jsf9k moved this from In progress to Review in progress in Skeleton Maintenance May 29, 2026
@jsf9k jsf9k requested a review from a team May 29, 2026 16:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Switches the base image source for both Dockerfile build stages from Docker Hub (docker.io/amazon/aws-lambda-python) to AWS's public ECR (public.ecr.aws/lambda/python). This avoids Docker Hub rate limits and provides access to newer Python runtime images published only on ECR.

Changes:

  • Update install-stage base image to public.ecr.aws/lambda/python:3.9.
  • Update build-stage base image to public.ecr.aws/lambda/python:3.9.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dav3r dav3r left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@github-project-automation github-project-automation Bot moved this from Review in progress to Reviewer approved in Skeleton Maintenance May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Pull requests that update Docker code kraken 🐙 This pull request is ready to merge during the next Lineage Kraken release

Projects

Status: In Progress
Status: Reviewer approved

Development

Successfully merging this pull request may close these issues.

4 participants