Skip to content

Commit 1300286

Browse files
simonislutkerd
authored andcommitted
Document the source of certificates for different images
Users are regularly confused by missing certificates when they move from one image type to another.
1 parent d16498c commit 1300286

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,16 @@ Security scanners may use heuristics or version checks of packages compared to a
6464
## Types of images provided
6565

6666
**amazoncorretto:<version>**
67-
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.
67+
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. **Notice:** in this image, the Corretto JDK comes with its own, bundled version of certificates under `lib/security/cacerts`.
6868

6969
**amazoncorretto:<version>-alpine**
7070
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.
7171

7272
**amazoncorretto:<version>-al2-native**
73-
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.
73+
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 simlink to `/etc/pki/java/cacerts`.
7474

7575
**amazoncorretto:<version>-al2023**
76-
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.
76+
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. **Notice:** in this image, the Corretto JDK uses the default platform certificates and `lib/security/cacerts` is just a simlink to `/etc/pki/java/cacerts`.
7777

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

0 commit comments

Comments
 (0)