-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PythonFunction additional build options #609
Comments
nice one, would really help me to remove docker dependency in my open source project that use cdk and Lambda. |
The @evgenyka is there a reason |
@evgenyka bump? :) |
@evgenyka pls advise 👍 |
@alexpulver Local bundling supported in Go and NodeJS (esbuild) at the moment, |
@evgenyka it is similar, however my solution is more robust. my code will allow building for Lambda natively from MacOS and Windows, installing the correct packages for Linux instead of the OS you're running on (which is what will happen here -> https://github.com/1davidmichael/cdk-local-bundling-example). I will open a PR under aws/aws-cdk#18290. |
Description
Today, CDK deploy uses docker as it's backend to collect and install dependencies. I'm proposing a way to do that without using Docker. It will also allow building for different OS targets and Lambda runtimes.
There are 2 ways to build without docker:
As @evgenyka suggested in #579, I want to inherit from PythonFunction and intorucde building backend options to the new class.
Looking for your approval before going forward.
Roles
Workflow
status/proposed
)status/review
)status/api-approved
applied to pull request)status/final-comments-period
)status/approved
)status/planning
)status/implementing
)status/done
)The text was updated successfully, but these errors were encountered: