lambda-nodejs: Support additional arguments from user and environments when building the builder and running builder container #8117
Labels
@aws-cdk/aws-lambda-nodejs
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
in-progress
This issue is being actively worked on.
Since moving to use docker container to build the source of lambda-nodejs, the users might have problem to downloading the dependencies in docker build.
Use Case
When I synthesis/deploy a CDK app with lambda-nodejs code in China. I failed to build the source code of lambda-nodejs due to network issue in Docker container.
See error message below,
Actually I can install the dependencies manually via proxy server in earlier CDK versions.
Proposed Solution
Docker build supports specifying build arguments about proxy like below,
Add a capability to support the user specifying the builder arguments or directly passing the proxy arguments if they are set in env.
Other
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: