Skip to content
This repository has been archived by the owner on Apr 3, 2021. It is now read-only.
/ docker-serverless Public archive

A Docker image for Serverless development & deployment

License

Notifications You must be signed in to change notification settings

mlafeldt/docker-serverless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Docker image for Serverless development & deployment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published