Sign inSign up

laavaid/serverless

By laavaid

Updated over 6 years ago

Image
0

5.7K

laavaid/serverless repository overview

Serverless Application Framework AWS Lambda API Gateway

serverless

Docker image containing NodeJS, Serverless Framework and Yarn.

Usage

Build Locally

If you want to build and use your own local image

# build image locally
$ make build
# go inside the container
$ make shell

Example

example/apigw is an example on how to use laavaid/serverless.

Update Docker image

New version of Serverless Framework
  1. Change SERVERLESS of Dockerfile
  2. Change SERVERLESS_VERSION of Makefile
  3. Change version of docker-serverless in example/apigw/docker-compose
  4. Build and test locally (test also the apigw example)
  5. Commit and push the changes
  6. Tag the commit with the command $ make tag
  7. Go to hub.docker.com
  8. In Build Details tab, you should now see the new tag kicking off
Fix for the current version
  1. Do the fixes you want to do
  2. Build and test locally (test also the apigw example)
  3. Commit and push the changes
  4. Run $ make tag
  5. Go to hub.docker.com
  6. In Build Details tab, you should now see build the tag kicking off

Docker image

The Docker image has the following:

Tag summary

Content type

Image

Digest

Size

227.4 MB

Last updated

over 6 years ago

docker pull laavaid/serverless