navarasu / serverless-ruby-layer

A Serverless Plugin to deploy gems from Gemfile to AWS Layer
MIT License
72 stars 11 forks source link

use_docker: false doesn't work as expected #74

Open MaG21 opened 2 years ago

MaG21 commented 2 years ago

Describe the bug use_docker: false One would expected this option to skip docker all together and do its thing. However it doesn't do that and instead doesn't include the native libs.

Use case: use_docker: false is useful for cases where serverless is already running in a codebuild container, there's no need to launch docker because codebuild can be used to compile layers.

In my case I cannot strip the serverless process out of codebuild so instead I had to configure codebuild to able able to run docker, run docker, then do the serverless deploy. painful.