diff --git a/README.md b/README.md index 33f2788..add77e1 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,9 @@ The default image, based on Amazon Linux 2023 using the Corretto RPMs specifical Based on Amazon Linux 2 and using the Corretto generic Linux RPM packages. This was the default image until July 21, 2026 for Corretto 8, 11, 17, and 21. AL2 is end of life and these images are provided only as a fallback for users who cannot migrate to AL2023 yet. The Corretto packages installed support a wide range of Linux versions, and not all GUI dependencies are installed. The Corretto generic linux packages use a slightly different version scheme than native packages, which may not match exact versions posted in ALAS bulletins. However, both generic linux and native Amazon Linux packages will contain the same code. **Notice:** in this image, the Corretto JDK comes with its own, bundled version of certificates under `lib/security/cacerts`. **amazoncorretto:-alpine** -Based on [Alpine Linux](https://www.alpinelinux.org/) that uses [musl libc](https://musl.libc.org/), with a focus on smaller image sizes. Images are available for each supported Alpine version. When new versions of Alpine come out, a pre-built image is typically provided on the next Corretto security release after the base image is available. +Contains the full Corretto JDK on [Alpine Linux](https://www.alpinelinux.org/), which uses [musl libc](https://musl.libc.org/), with a focus on smaller image sizes. Images are available for each supported Alpine version. When new versions of Alpine come out, a pre-built image is typically provided on the next Corretto security release after the base image is available. + +`-alpine-slim` uses `jlink` to keep all Java modules and `javac`, while removing man pages, JNI headers, debug info, `jmods`, and the prebuilt CDS archive. Corretto 17 on x64 example: ~298 MB (alpine) vs. ~162 MB (alpine-slim), uncompressed. Use `-alpine` when you need JNI headers or `jmods`. **amazoncorretto:-al2-native** Based on Amazon Linux 2 using the Corretto RPMs specifically built for the platform using the platform’s toolchain. These will include all dependencies, and the version of the Corretto packages will match ALAS bulletins. **Notice:** in this image, the Corretto JDK uses the default platform certificates and `lib/security/cacerts` is just a symlink to `/etc/pki/java/cacerts`.