From 65c8a05d05c5e5b5dd794e4e24d7c9f2e98911bc Mon Sep 17 00:00:00 2001 From: Keegan Witt Date: Mon, 11 Nov 2024 00:07:58 -0500 Subject: [PATCH] Document other image variants (closes #197) --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4ab69c7..3b2ce95 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ Security scanners may use heuristics or version checks of packages compared to a ## Types of images provided **amazoncorretto:** -The default image based on Amazon Linux 2, using the Corretto generic Linux RPM packages. 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. +The default image based on Amazon Linux 2 for versions up to Java 23, and Amazon Linux 2023 from Java 23 and later. It uses the Corretto generic Linux RPM packages. 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. **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. @@ -72,6 +72,15 @@ Based on Amazon Linux 2 using the Corretto RPMs specifically built for the platf **amazoncorretto:-al2023** Based on Amazon Linux 2023 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. +**amazoncorretto:-headless** +Installs only the runtime binaries (java, keytool, and rmiregistry). + +**amazoncorretto:-headful** +The same Java as provided by the headless image, plus the AWT shared object files. + +**amazoncorretto:-slim** +The dockerfiles are provided as examples only. Installs all the binaries and modules from java-21-amazon-corretto-devel, but without source files, header files, debug information, and man pages. + **amazoncorretto:-debian** The dockerfiles are provided as examples only. Corretto is supported on `apt`/`deb` based distributions, but does not provide pre-built images.