Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/softinstigate/serverless-docker
A docker container for running serverless commands
https://github.com/softinstigate/serverless-docker
aws aws-lambda cli serverless
Last synced: 8 days ago
JSON representation
A docker container for running serverless commands
- Host: GitHub
- URL: https://github.com/softinstigate/serverless-docker
- Owner: SoftInstigate
- License: apache-2.0
- Created: 2017-06-07T07:36:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-12-21T14:47:23.000Z (almost 3 years ago)
- Last Synced: 2024-05-01T10:06:54.709Z (7 months ago)
- Topics: aws, aws-lambda, cli, serverless
- Language: Shell
- Homepage:
- Size: 63.5 KB
- Stars: 29
- Watchers: 5
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# serverless #
[![Build Status](https://travis-ci.org/SoftInstigate/serverless-docker.svg?branch=master)](https://travis-ci.org/SoftInstigate/serverless-docker)
A [docker image](https://hub.docker.com/r/softinstigate/serverless/) for running [serverless](https://serverless.com) commands.
This can be useful for building and deploying serverless stacks from CI environments.
The `RELEASE` global variable in [.travis.yml](.travis.yml) contains the [serverless release](https://github.com/serverless/serverless/releases) to be built.
## Example ##
```
$ docker pull softinstigate/serverless
$ docker run --rm softinstigate/serverless --version
```## Base image ##
[softinstigate/maven-aws](https://hub.docker.com/r/softinstigate/maven-aws/)
The base image is from the [maven](https://hub.docker.com/_/maven/) one, so it allows to also build serverless projects for **Java** .
Included packages from base image:
- [aws-cli](https://github.com/aws/aws-cli).
- [ecs-cli](https://github.com/aws/amazon-ecs-cli)## Check the installed tools
```bash
docker run -it --rm --entrypoint="./startup.sh" softinstigate/serverless=================================================
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/share/maven
Java version: 11.0.9, vendor: Oracle Corporation, runtime: /usr/local/openjdk-11
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.19.76-linuxkit", arch: "amd64", family: "unix"
aws-cli/2.0.59 Python/3.7.3 Linux/4.19.76-linuxkit exe/x86_64.debian.10
ecs-cli version 1.20.0 (7547c45)
node v12.19.0
yarn 1.22.5
serverless Framework Core: 2.8.0
Plugin: 4.1.1
SDK: 2.3.2
Components: 3.2.7
=================================================
```## Additional packages ##
- Nodejs 12 LTS
- Serverless cli 2.x## Pull requests
If you need a specific version of the serverless cli which has not been built yet, just fork this repo and open a PR after changing the line in .travis.yml setting the `RELEASE=` to an existing [serverless framework release](https://github.com/serverless/serverless) and we'll merge it quickly. After Travis-CI has finished its work, check the new [docker image](https://hub.docker.com/r/softinstigate/serverless/) and pull your version.