This example requires Gradle to be installed to build and layout the classes and jars correctly.
Run with:
# Will place the compiled code in `./build/docker`
gradle build
# Then you can run using that directory as the task directory
docker run -v "$PWD/build/docker":/var/task lambci/lambda:java8 org.lambci.lambda.ExampleHandler '{"some": "event"}'