-
Notifications
You must be signed in to change notification settings - Fork 3
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
Conversation
|
||
ARG JAR_FILE=case.jar | ||
RUN apt-get update |
There was a problem hiding this comment.
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.
/deploy pricem |
Deploying to dev cluster with following parameters:
|
There was a problem hiding this 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
/deploy robinm3 |
Deploying to dev cluster with following parameters:
|
There was a problem hiding this 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.
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