Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document other image variants (closes #197) #222

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Security scanners may use heuristics or version checks of packages compared to a
## Types of images provided

**amazoncorretto:<version>**
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:<version>-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.
Expand All @@ -72,6 +72,15 @@ Based on Amazon Linux 2 using the Corretto RPMs specifically built for the platf
**amazoncorretto:<version>-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:<version>-headless**
Installs only the runtime binaries (java, keytool, and rmiregistry).

**amazoncorretto:<version>-headful**
The same Java as provided by the headless image, plus the AWT shared object files.

**amazoncorretto:<version>-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:<version>-debian**
The dockerfiles are provided as examples only. Corretto is supported on `apt`/`deb` based distributions, but does not provide pre-built images.

Expand Down