/docker-aws-sam-local

Docker image for Amazon AWS Serverless Application Model (SAM) Local

Primary LanguageMakefile

docker-aws-sam-local

This is the source repository of the Docker image for Amazon AWS SAM Local.

Supported tags and respective Dockerfile links

What is AWS SAM Local?

Amazon AWS SAM Local is a tool for local development and testing of Serverless applications. It can be used to test functions locally, start a local API Gateway from a SAM template, validate a SAM template, and generate sample payloads for various event sources.

How to use this image?

$ docker run -it --rm \
	-v /var/run/docker.sock:/var/run/docker.sock \
	-v "$(PWD)":/var/opt \
	-p "3000:3000" \
	cnadiminti/aws-sam-local

This will add your current directory as a volume to the container and publish host port to container port.

For a working example please take a look at the Makefile in the source repository.

License

User Feedback

Issues

If you have any problems with or questions about this image, please contact us through a GitHub issue.

Contributing

You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.

Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.