[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/sdscgithub/docker-lambda/build-python3.6/java8/run/README.md [Back]  [Original]

# Java 8 Build Instructions

As the Java 8 Lambda libraries are statically compiled into jars, it's not
possible to just swap in a mock interface source file, as it is in the other
dynamic runtimes, without compiling first.

The `Dockerfile` here will build using a patched `LambdaSandboxJava-1.0.jar`,
which is checked into git. This jar was built using the jar from the Lambda runtime,
`/var/runtime/lib/LambdaSandboxJava-1.0.jar`, with a single class
(`lambdainternal/LambdaRuntime.class`) updated to use local/mock methods
instead of native ones.

The build script to perform this patch/update is at
[./lambda-runtime-mock/build.sh](./lambda-runtime-mock/build.sh)

Web Proxy Viewer  |  New URL  |  Original Page