carlossg / docker-maven

Official Docker image with Maven
Apache License 2.0
525 stars 424 forks source link

Add Amazon Corretto 21 image #410

Closed lukasraska closed 1 year ago

lukasraska commented 1 year ago

Since Amazon Corretto team published new images based on Java 21 (https://github.com/corretto/corretto-docker/pull/179 ), this PR introduces similar amazoncorreto-21 flavour as there already is for older Java versions.

I looked also at the al2023 variant, but there are no generic corretto images, so while it could be done using headless, I'm not sure whether that's desirable.

Let me know if anything is missing from this PR. Thanks

carlossg commented 1 year ago

thanks! headless could be ok, I'm just concerned that there is confusion between different flavors in different versions