I am using Docker Engine 18.0.09.1 with the Serverless CLI to package and deploy AWS Lambda CRUD functions. The deployment succeeds in uploading the necessary modules, creates all the Lambda functions, and builds out the CloudFormation. I verified all the node_modules installed within the Docker /lambda-project directory are present in the S3 directory to which the deployment was directed.
Unfortunately, when I test the create function, or any function, I receive this error:
“/var/lang/bin/…/lib/libstdc++.so.6: version `GLIBCXX_3.4.21’ not found (required by /var/task/node_modules/couchbase/build/Release/couchbase_impl.node)”
This is an amazonlinux Docker image. I have tried all the usual junk to install from sudo apt-get, yum install, etc, none of those are recognized. I am at a loss.
Any help is appreciated.