A Docker image for Serverless development & deployment.
Features:
serverless
command-line tool- Some
serverless
plugins, see Dockerfile aws
command-line tool for scripting/debuggingmake
for build automationtini
init system to make theserverless
tool work well in Docker- Automatically assume the IAM role specified by the
AWS_ROLE
environment variable
Pull the latest Docker image:
docker pull mlafeldt/serverless
Run this inside the directory of your Serverless service:
docker run -it --rm -v "$PWD:/service" \
-e AWS_ACCESS_KEY_ID="$AWS_ACCESS_KEY_ID" \
-e AWS_SECRET_ACCESS_KEY="$AWS_SECRET_ACCESS_KEY" \
-e AWS_REGION="$AWS_REGION" \
-e AWS_DEFAULT_REGION="$AWS_DEFAULT_REGION" \
mlafeldt/serverless <command>
This project is being developed by Mathias Lafeldt.