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

Migrate from openjdk to eclipse-temurin #282

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

pricem14pc
Copy link
Contributor

@pricem14pc pricem14pc commented Nov 14, 2023

What and why?

The openjdk base images are deprecated and no longer maintained. This migrates to the recommended eclipse-temurin image. This also migrates from the slim Linux OS to the alpine OS images as eclipse-temurin doesn't appear to offer slim. This reduces the image from ~305MB to ~143MB

How to test

Does the image build, does the application deploy, does the application start, are there any restarts, check the logs for errors, do the acceptance tests pass, check the logs and restarts (again!), check the image size, check the vulnerabilities


ARG JAR_FILE=case.jar
RUN apt-get update
Copy link
Contributor Author

@pricem14pc pricem14pc Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apt-get isn't installed on the alpine OS, but we don't install anything with apt-get in the case image anyway.

@pricem14pc
Copy link
Contributor Author

/deploy pricem

@ras-rm-pr-bot
Copy link
Collaborator

Deploying to dev cluster with following parameters:

  • namespace: pricem

  • tag: pr-282

  • configBranch: main

  • paramKey: ``

  • paramValue: ``

Copy link
Contributor

@arroyoAle arroyoAle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image deploys and works as expected, there two recent openssl vulnerabilities but to me they look out of scope

@matthew-robinson-ons
Copy link
Contributor

/deploy robinm3

@ras-rm-pr-bot
Copy link
Collaborator

Deploying to dev cluster with following parameters:

  • namespace: robinm3

  • tag: pr-282

  • configBranch: main

  • paramKey: ``

  • paramValue: ``

Copy link
Contributor

@matthew-robinson-ons matthew-robinson-ons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks good to me. No restarts, no errors and all tests passing as expected.

@mfcrocker mfcrocker merged commit ef03cde into main Nov 27, 2023
1 check passed
@mfcrocker mfcrocker deleted the migrate-from-openjdk-to-eclipse-temurin branch November 27, 2023 16:03
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.

5 participants