aws / aws/aws-lambda-base-images

Lambda images with build tools

Open
#10 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
777
Forks
118
PR merge metrics
No merged PRs in 30d

Description

Hi,

In my project I have some dependencies that require compiling C code using "make" and other build tools.
Before I install them in node_modules as a Lambda Layer, I prefer doing so in the environment closest to the lambda runtime.
Up until node 12 (including) I was using another repo (lambci) as referred by an AWS Premium Support article.
In node 14, that solution doesn't exist anymore.

It is possible to maintain a version of the images that contain the build tools, so that npm won't fail with:
`Error: not found: make`

This is easily reproducible by running the following command:
`docker run --entrypoint npm amazon/aws-lambda-nodejs:14 i re2`

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.