{"id":13528088,"url":"https://github.com/aws/aws-lambda-base-images","last_synced_at":"2025-10-06T09:26:59.544Z","repository":{"id":38410871,"uuid":"314782324","full_name":"aws/aws-lambda-base-images","owner":"aws","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-04T07:04:38.000Z","size":118,"stargazers_count":725,"open_issues_count":130,"forks_count":111,"subscribers_count":61,"default_branch":"main","last_synced_at":"2025-05-08T00:07:58.866Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aws.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-11-21T10:06:06.000Z","updated_at":"2025-05-04T19:01:58.000Z","dependencies_parsed_at":"2023-02-18T07:15:35.777Z","dependency_job_id":"ea547fe8-b9c5-48f5-a953-4bd1a18ada85","html_url":"https://github.com/aws/aws-lambda-base-images","commit_stats":{"total_commits":5,"total_committers":4,"mean_commits":1.25,"dds":0.6,"last_synced_commit":"14f18f5d046353d091c7bc2628ef596c645807a5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-lambda-base-images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-lambda-base-images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-lambda-base-images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-lambda-base-images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aws","download_url":"https://codeload.github.com/aws/aws-lambda-base-images/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254301420,"owners_count":22047901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T06:02:12.478Z","updated_at":"2025-10-06T09:26:59.525Z","avatar_url":"https://github.com/aws.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"## AWS Lambda Base Container Images\n\nAWS provided base images for Lambda contain all the required components to run your functions packaged as container images on AWS Lambda. These images are published to the [Lambda public ECR repository](https://github.com/aws/aws-lambda-base-images) and [DockerHub](https://hub.docker.com/search?q=lambda+base+images). To learn more about how to use these images, check out the AWS documentation on how to [Create an image from an AWS base image for Lambda](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-create-1).\n\nEach image contains Amazon Linux system libraries, the language runtime for a given programming language, dependencies, certificates, AWS SDK (Node.js, Python, and Ruby only) and the Lambda Runtime Interface Client (RIC).\nThe RIC integrates with the [Lambda Runtime API](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html) to receive function invoke requests from the Lambda service. It then calls your function handler code, and returns the response to the Lambda service.\nThese images are very similar to the AWS Lambda managed runtimes, although we may choose to optimize the container images by changing the components or included dependencies.\n\n### Maintenance policy\n\nConsistent with the AWS Lambda [shared responsibility model](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-shared-responsibility), Lambda provides regular updates to managed runtimes and container base images with security patches and other updates. As with any security patching, there is typically a short interval between a CVE being published and the corresponding security patch being applied. It is therefore normal for security scans of Lambda base images to report new CVEs from time to time. These CVEs are typically patched in our next update cycle.\n\nYou can file issues in this repository to flag issues or send feedback to the Lambda Runtimes team. However, please do not create a public GitHub issue to request information on CVE patching status. Any such issues will be closed. If you require information relating to the patching status of specific CVEs in Lambda runtime images, please contact [AWS Support](https://aws.amazon.com/support).\n\n## What we're doing here\n\nAs soon as new AWS Lambda base images are available, an automated process snapshots the layers and configuration used to create these images and publishes them to this repository. A separate branch is used for each image.\n\nTo avoid ballooning the respository size, we force-push the branches that contain the tarballs. As a result, content may disappear without warning. The older versions of our images remain present on DockerHub and Amazon ECR.\n\n## Usage\n\n### Requirements\nTo re-create the AWS Lambda base images, make sure you have the following pre-requisites set up:\n- [git](https://git-scm.com/downloads)\n- [git-lfs](https://git-lfs.github.com/)\n- [docker](https://docs.docker.com/get-docker/)\n\n### Building an image\nFirst, clone this repository:\n```\ngit clone https://github.com/aws/aws-lambda-base-images\n```\n\nThen, checkout the branch relevant to the Lambda base image you want to build.\n\neg. to build the `nodejs18.x` image, start by checking out the `nodejs18.x` branch:\n```\ngit checkout nodejs18.x\n```\n\nFinally you can build your image as such:\n```\ndocker build -t nodejs18.x:local -f Dockerfile.nodejs18.x .\n```\n\nThis will use the Dockerfile at `Dockerfile.nodejs18.x` and tag the newly-built image as `nodejs18.x:local`.\n\n\n## Licence\n\nThis project is licensed under the Apache-2.0 License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws%2Faws-lambda-base-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faws%2Faws-lambda-base-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws%2Faws-lambda-base-images/lists"}