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

Switch from 'openjdk' to 'eclipse-temurin' for Graylog Server test im… #13162

Closed
wants to merge 1 commit into from

Conversation

mpfz0r
Copy link
Contributor

@mpfz0r mpfz0r commented Jul 29, 2022

…age.

The 'openjdk' images are being retired/discontinued. Since Eclipse Temurin was previously
selected for other Graylog uses, it is a natural replacement for the official Graylog images.

Ubuntu Jammy, selected as the OS variant here (and by the Temurin project for non-specific tags),
will have standard support until April 2027.

This also includes a fix for non-root SO loading that was being done in the 'openjdk' images, but isn't
(currently) with Temurin. Without it the following error will occur:
'java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory'.

Refs:

Description

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

…age.

The 'openjdk' images are being retired/discontinued.  Since Eclipse Temurin was previously
selected for other Graylog uses, it is a natural replacement for the official Graylog images.

Ubuntu Jammy, selected as the OS variant here (and by the Temurin project for non-specific tags),
will have standard support until April 2027.

This also includes a fix for non-root SO loading that was being done in the 'openjdk' images, but isn't
(currently) with Temurin.  Without it the following error will occur:
'java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory'.

Refs:
* docker-library/openjdk#505
* #11467
* https://github.com/Graylog2/graylog2-server/blob/bf001c5a039380e0afadc9f570d070d2b70ee578/.github/workflows/build.yml#L18
* https://github.com/docker-library/openjdk/blob/da594d91b0364d5f1a32e0ce6b4d3fd8a9116844/8/jdk/slim-bullseye/Dockerfile#L105
* docker-library/openjdk#331 (comment)
@mpfz0r mpfz0r closed this Jul 29, 2022
@mpfz0r mpfz0r deleted the temurin-test-checkout branch July 29, 2022 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants