Skip to content

Commit

Permalink
Document other image variants (closes corretto#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
keeganwitt committed Nov 11, 2024
1 parent 043a4ed commit e7f31a9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions 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 All @@ -80,7 +89,7 @@ The dockerfiles are provided as examples only. Corretto is supported on `apt`/`d
#### Corretto 8
**jre** - Contains only the runtime components and not the compiler. Suitable for most services.

**jdk** - Full development environment with compiler and tools.
**jdk** - Full development environment with compiler and tools.x

#### Corretto 11+
**headless** - Contains runtime components without GUI libraries and dependencies. This will be the smallest image and is suitable for most services.
Expand Down

0 comments on commit e7f31a9

Please sign in to comment.