FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

docker-lambda/examples/java/README.md at add-lambda-api · forkkit/docker-lambda · GitHub

Latest commit

 

History

History
11 lines (8 loc) · 352 Bytes

File metadata and controls

11 lines (8 loc) · 352 Bytes

Java 8 docker-lambda example

Run with:

# Will place the compiled code in `./build/docker`
docker run --rm -v "$PWD":/app -w /app gradle:6.0 gradle build

# Then you can run using that directory as the task directory
docker run --rm -v "$PWD/build/docker":/var/task lambci/lambda:java8 org.lambci.lambda.ExampleHandler '{"some": "event"}'

Back | FazBrowse Home | New Git URL