Skip to content
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

Could dotnet lambda publish-layer run on an amazon linux docker image automatically #78

Closed
mabead opened this issue Apr 28, 2019 · 1 comment
Labels
feature-request A feature should be added or improved. module/cli-ext

Comments

@mabead
Copy link

mabead commented Apr 28, 2019

When I read this documentation, I read that:

In order to create an optimized runtime package store layer you must run the publish-layer command in an Amazon Linux environment. Attempting to create an optimized runtime package store layer on Windows or macOS will result in an error. If creating the layer on Linux be sure the distribution is Amazon Linux.

In order to simplify the process, would it be possible for the dotnet lambda publish-layer command to automatically spawn a amazonlinux docker image and directly run the command into that container?

That would make it very easy to run the dotnet lambda publish-layer in any build environment, thus simplifying the adoption of .net lambda layers, thus allowing using pre-jitted assemblies, thus significantly improving the .NET lambdas cold start performances, thus hopefully stopping the argumentation about the .NET poor performances under lambda ;)

@mabead mabead changed the title Could dotnet lambda publish-layer use an amazon linux docker image Could dotnet lambda publish-layer use an amazon linux docker image automatically Apr 28, 2019
@mabead mabead changed the title Could dotnet lambda publish-layer use an amazon linux docker image automatically Could dotnet lambda publish-layer run on an amazon linux docker image automatically Apr 28, 2019
@mabead
Copy link
Author

mabead commented Apr 29, 2019

Closing issue. This depends on the conclusion of #79. I will reopen the issue if needed.

@mabead mabead closed this as completed Apr 29, 2019
@klaytaybai klaytaybai added the feature-request A feature should be added or improved. label Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. module/cli-ext
Projects
None yet
Development

No branches or pull requests

3 participants