lambci / docker-lambda

Docker images and test runners that replicate the live AWS Lambda environment
MIT License
5.84k stars 431 forks source link

feat: graceful termination of the init process #334

Open clementrey-dev opened 3 years ago

clementrey-dev commented 3 years ago

Dear maintainers

This pull request is a proposed implementation for the graceful termination of the init process through two modifications

Thank you

steve-a-jones commented 3 years ago

Have a use case for this as well since I need to test proper handling of sigterm traps for my runtime. Thanks for putting the work in for this.