Skip to content

Commit d616725

Browse files
Use the absolute path of the java executable in runtime-interface-client example (#191)
1 parent 50c7260 commit d616725

File tree

1 file changed

+1
-1
lines changed
  • aws-lambda-java-runtime-interface-client

1 file changed

+1
-1
lines changed

aws-lambda-java-runtime-interface-client/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ COPY --from=build /src/target/dependency/*.jar ./
4747
COPY --from=build /src/target/*.jar ./
4848

4949
# configure the runtime startup as main
50-
ENTRYPOINT [ "java", "-cp", "./*", "com.amazonaws.services.lambda.runtime.api.client.AWSLambda" ]
50+
ENTRYPOINT [ "/usr/bin/java", "-cp", "./*", "com.amazonaws.services.lambda.runtime.api.client.AWSLambda" ]
5151
# pass the name of the function handler as an argument to the runtime
5252
CMD [ "example.App::sayHello" ]
5353
```

0 commit comments

Comments
 (0)