Install openjdk packages for RHEL UBI (FIPS)
What does this MR do?
Change the gemnasium-maven:3-fips
image to install OpenJDK using RHEL UBI packages.
- Install OpenJDK 8, 11, and 17 packages using
yum
when building the image. - Switch b/w these at runtime, based on
DS_JAVA_VERSION
. - Remove
asdf-java
. - Remove image compression.
The Debian-based image gemnasium-maven:3
(default image) is unchanged.
- It uses
asdf-java
. -
/opt/asdf
is compressed when building the image, and decompressed when running it.
To make the FIPS image diverge from the default one, build/gemnasium-maven
now has one subdirectory per Docker image:
debian
redhat
What are the relevant issue numbers?
gitlab-org/gitlab#362245 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Fabien Catteau