You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# AWS Lambda Java Base Images
2
2
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*.
4
4
5
5
## Approach
6
6
@@ -12,9 +12,9 @@ This project uses the following process to create new Lambda base images:
12
12
13
13
## Example Lambda Function
14
14
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.
16
16
17
-
FROM public.ecr.aws/aleph0io/java/lambda:17.0.3-al2
17
+
FROM public.ecr.aws/aleph0io/java/lambda:17.0.4-al2
@@ -23,10 +23,10 @@ You can find an example Lambda function using these base images at [sigpwned/exa
23
23
## Known Issues and Future Plans
24
24
25
25
* 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.
27
27
* For now, only x86_64 is supported. I hope to publish multiarch builds including arm64 soon.
28
28
* 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.
0 commit comments