Skip to content

Commit 5e7b426

Browse files
author
Vadym Kazulkin
committed
add aws lambda container mage with java21
1 parent 8ad6fda commit 5e7b426

File tree

1 file changed

+1
-1
lines changed
  • pure-lambda-java-21-docker-image-alpine-linux

1 file changed

+1
-1
lines changed

pure-lambda-java-21-docker-image-alpine-linux/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ COPY target/classes ${LAMBDA_TASK_ROOT}/classes
55
COPY target/dependency/* ${LAMBDA_TASK_ROOT}/lib/
66

77
# Set runtime interface client as default command for the container runtime
8-
ENTRYPOINT [ "/usr/bin/java", "-cp", "${LAMBDA_TASK_ROOT}/classes:${LAMBDA_TASK_ROOT}/lib/*", "com.amazonaws.services.lambda.runtime.api.client.AWSLambda" ]
8+
ENTRYPOINT [ "/usr/bin/java", "-cp", "${LAMBDA_TASK_ROOT}/classes;${LAMBDA_TASK_ROOT}/lib/*", "com.amazonaws.services.lambda.runtime.api.client.AWSLambda" ]
99

1010
# Set the CMD to your handler (could also be done as a parameter override outside of the Dockerfile)
1111
# CMD [ "software.amazonaws.example.product.handler.GetProductByIdHandler::handleRequest" ]

0 commit comments

Comments
 (0)