Sign inSign up

mlafeldt/serverless

By mlafeldt

•Updated about 8 years ago

Dockerized Serverless Framework

Image
0

1.0K

mlafeldt/serverless repository overview

⁠docker-serverless

A Docker image for Serverless⁠ development & deployment.

Features:

  • serverless command-line tool
  • Some serverless plugins, see Dockerfile⁠
  • aws command-line tool for scripting/debugging
  • make for build automation
  • tini init system to make the serverless tool work well in Docker
  • Automatically assume the IAM role specified by the AWS_ROLE environment variable

⁠Usage

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>

⁠Author

This project is being developed by Mathias Lafeldt⁠.

Tag summary

Content type

Image

Digest

Size

84 MB

Last updated

about 8 years ago

docker pull mlafeldt/serverless