Skip to content

Update base images to latest patch versions - #64

Open
lolgab wants to merge 1 commit into
masterfrom
update-base-images
Open

Update base images to latest patch versions#64
lolgab wants to merge 1 commit into
masterfrom
update-base-images

Conversation

@lolgab

Copy link
Copy Markdown
Contributor

Summary

  • Bump adoptopenjdk/openjdk8: jre8u462-b08 -> jre8u502-b07
  • Bump JDK17 (eclipse-temurin): 17.0.18_8-jre-jammy -> 17.0.19_10-jre-jammy
  • Bump adoptopenjdk/openjdk8-openj9: jre8u462-b08_openj9-0.53.0 -> jre8u482-b08.1_openj9-0.57.0
  • JDK11 (eclipse-temurin:11-jre-focal) left unpinned/unchanged, floating tag already latest

All new tags verified pullable against Docker Hub registry manifest API.

Test plan

  • CI docker build passes for all 4 targets

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

- adoptopenjdk/openjdk8: jre8u462-b08 -> jre8u502-b07
- eclipse-temurin (JDK17): 17.0.18_8-jre-jammy -> 17.0.19_10-jre-jammy
- adoptopenjdk/openjdk8-openj9: jre8u462-b08_openj9-0.53.0 -> jre8u482-b08.1_openj9-0.57.0
@lolgab
lolgabforce-pushed the update-base-images branch from 6295b5a to e1a3ebdCompareAugust 12, 2026 11:18

@codacy-productioncodacy-productionBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

Codacy results indicate that the pull request meets project standards, with no new quality issues or logic defects identified. The implementation is consistent with the provided acceptance criteria for updating the base image versions for OpenJDK 8 and JDK 17.

No security vulnerabilities or significant logic errors were found that would prevent merging. The primary recommendation is to execute the suggested build verification to confirm the integrity of the updated base image tags.

Test suggestions

  • Verify successful Docker build of images using the updated base tags.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify successful Docker build of images using the updated base tags.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

@codacy-productioncodacy-productionBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

The PR aims to update Docker base images to their latest patch versions. While the Codacy analysis indicates the changes are up to standards, there are significant maintenance concerns regarding the choice of image providers. The adoptopenjdk namespace is deprecated and no longer receives security updates, which undermines the PR's objective of improving security.

Furthermore, there is an inconsistency regarding the OpenJDK 17 update; the PR description suggests an update that already exists in the provided diff. Finally, the absence of CI configuration changes or test scripts to verify the integrity of the new base images presents a risk to the build pipeline stability.

About this PR

  • The PR does not include any CI configuration changes or scripts to verify that the 'docker build' for all four targets still passes with the new base images. Testing should be performed to ensure compatibility and build stability.
  • There is a discrepancy regarding the OpenJDK 17 update. The PR description lists a bump to 17.0.19_10-jre-jammy, but the Makefile already contains this version. Please verify if this image was updated in a previous commit or if the description needs correction.

Test suggestions

  • Missing recommended test scenario: Verify Docker build for BASE_IMAGE_OPENJDK (HotSpot 8)
  • Missing recommended test scenario: Verify Docker build for BASE_IMAGE_OPENJDK11
  • Missing recommended test scenario: Verify Docker build for BASE_IMAGE_OPENJDK17
  • Missing recommended test scenario: Verify Docker build for BASE_IMAGE_OPENJ9
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Missing recommended test scenario: Verify Docker build for BASE_IMAGE_OPENJDK (HotSpot 8)
2. Missing recommended test scenario: Verify Docker build for BASE_IMAGE_OPENJDK11
3. Missing recommended test scenario: Verify Docker build for BASE_IMAGE_OPENJDK17
4. Missing recommended test scenario: Verify Docker build for BASE_IMAGE_OPENJ9

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

Comment threadMakefile
BASE_IMAGE_OPENJDK11=eclipse-temurin:11-jre-focal
BASE_IMAGE_OPENJDK17=eclipse-temurin:17.0.19_10-jre-jammy
BASE_IMAGE_OPENJ9=adoptopenjdk/openjdk8-openj9:x86_64-ubuntu-jre8u462-b08_openj9-0.53.0
BASE_IMAGE_OPENJ9=adoptopenjdk/openjdk8-openj9:x86_64-ubuntu-jre8u482-b08.1_openj9-0.57.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 MEDIUM RISK

Suggestion: The adoptopenjdk OpenJ9 images are deprecated and have been succeeded by the IBM Semeru Runtimes. Using the deprecated namespace prevents the build from receiving new security fixes and OpenJ9 improvements. Consider migrating the BASE_IMAGE_OPENJ9 base image to the equivalent ibm-semeru-runtimes namespace.

Comment threadMakefile
OPENJDK11_VERSION?=jre11-$(VERSION)
OPENJDK17_VERSION?=jre17-$(VERSION)
BASE_IMAGE_OPENJDK=adoptopenjdk/openjdk8:x86_64-ubuntu-jre8u462-b08
BASE_IMAGE_OPENJDK=adoptopenjdk/openjdk8:x86_64-ubuntu-jre8u502-b07

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 MEDIUM RISK

Suggestion: The adoptopenjdk organization is deprecated and no longer receives security patches. To ensure the build uses a truly up-to-date and secure base image, this should be migrated to its official successor, Eclipse Temurin. Consider updating the BASE_IMAGE_OPENJDK base image in the Makefile to the eclipse-temurin namespace.

Sign up for freeto 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.

1 participant

@lolgab