Skip to content

Commit 5635b2a

Browse files
committed
update README
1 parent e783450 commit 5635b2a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AWS Lambda Java Base Images
22

3-
This project provides the missing [AWS Lambda base image](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-images.html) for Java 17. The base images are publicly available [in the ECR Public Gallery](https://gallery.ecr.aws/aleph0io/lambda/java). You should be able to use them directly in your builds. I expect to use these base images for production lambda functions reasonably soon, but in the meantime please consider them to be *very experimental*.
3+
This project provides the missing [AWS Lambda base image](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-images.html) for Java 17 and 18. The base images are publicly available [in the ECR Public Gallery](https://gallery.ecr.aws/aleph0io/lambda/java). You should be able to use them directly in your builds. I expect to use these base images for production lambda functions reasonably soon, but in the meantime please consider them to be *very experimental*.
44

55
## Approach
66

@@ -12,9 +12,9 @@ This project uses the following process to create new Lambda base images:
1212

1313
## Example Lambda Function
1414

15-
You can find an example Lambda function using these base images at [sigpwned/example-java-17-lambda-function](https://github.com/sigpwned/example-java-17-lambda-function). It's just like building any container lambda function. For ease of use, find the `Dockerfile` below. Note the `FROM` image.
15+
You can find an example Lambda function using these base images at [aleph0io/aws-lambda-java-base-images](https://github.com/aleph0io/aws-lambda-java-base-images). It's just like building any container lambda function. For ease of use, find the `Dockerfile` below. Note the `FROM` image.
1616

17-
FROM public.ecr.aws/aleph0io/java/lambda:17.0.3-al2
17+
FROM public.ecr.aws/aleph0io/java/lambda:17.0.4-al2
1818

1919
COPY target/hello-lambda.jar "${LAMBDA_TASK_ROOT}/lib/"
2020

@@ -23,10 +23,10 @@ You can find an example Lambda function using these base images at [sigpwned/exa
2323
## Known Issues and Future Plans
2424

2525
* This image is in no way optimized for cold start time, size, etc. PRs welcome!
26-
* For now, only Java 17 is supported. I hope to provide base images for additional versions soon.
26+
* Both Java 17 and 18 are supported. I will release a version for Java 19 when an official [Amazon Corretto](https://gallery.ecr.aws/amazoncorretto/amazoncorretto) image is released.
2727
* For now, only x86_64 is supported. I hope to publish multiarch builds including arm64 soon.
2828
* I suspect I will also clean up the ECR public gallery presence, but this gets the images out for now.
29-
* Of course, as soon as there *is* an offically-supported AWS Lambda base image for Java 17, everyone should use that instead! But this project should hopefully fill the gap in the meantime, and will (hopefully) support non-LTS Java versions that will never receive an officially-supported AWS Lambda base image by that time.
29+
* Of course, as soon as there *is* an offically-supported AWS Lambda base image for these Java versions, everyone should use that instead! But this project should hopefully fill the gap in the meantime, and will (hopefully) support non-LTS Java versions that will never receive an officially-supported AWS Lambda base image by that time.
3030

3131
## Acknowledgements
3232

0 commit comments

Comments
 (0)