Skip to content

[CY-7657] Add java 11 image#59

Merged
zhamborova merged 4 commits intomasterfrom
CY-7657_java11
Feb 3, 2026
Merged

[CY-7657] Add java 11 image#59
zhamborova merged 4 commits intomasterfrom
CY-7657_java11

Conversation

@zhamborova
Copy link
Contributor

No description provided.

@zhamborova zhamborova requested a review from lolgab as a code owner February 3, 2026 13:46
Copilot AI review requested due to automatic review settings February 3, 2026 13:46
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds support for Java 11 (OpenJDK 11) to the Codacy base Docker images, following the established pattern for Java version variants.

Changes:

  • Added OpenJDK 11 JRE as a new available Java version option
  • Updated documentation to list all four Java versions (8 default, 8 with OpenJ9, 11, and 17)
  • Integrated Java 11 builds into all Makefile targets (build, scan, and push for both base and withtools images)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
README.md Updated documentation to list OpenJDK 11 JRE among available Java versions
Makefile Added OPENJDK11_VERSION variable, BASE_IMAGE_OPENJDK11 base image definition, and integrated Java 11 builds into docker_build, docker_scan, and push-docker-image targets

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings February 3, 2026 13:57
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codacy-production
Copy link

codacy-production bot commented Feb 3, 2026

Codacy's Analysis Summary

0 new issue (≤ 1 medium issue)
0 new security issue (≤ 0 issue)

Review Pull Request in Codacy →

AI Reviewer available: add the codacy-review label to get contextual insights without leaving GitHub.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 3, 2026 14:12
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@zhamborova zhamborova changed the title [CY7657] Add java 11 image [CY-7657] Add java 11 image Feb 3, 2026
machadoit
machadoit previously approved these changes Feb 3, 2026
Copy link
Contributor

@machadoit machadoit left a comment

Choose a reason for hiding this comment

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

Not sure if we are missing anything, what is here LGTM!

Makefile Outdated
docker_build: ## build the docker image
docker build --build-arg base_image=$(BASE_IMAGE_OPENJDK) --no-cache -t $(BASE_IMAGE_NAME):$(VERSION) --target base .
docker build --build-arg base_image=$(BASE_IMAGE_OPENJ9) --no-cache -t $(BASE_IMAGE_NAME):$(OPENJ9_VERSION) --target base .
docker build --build-arg base_image=$(BASE_IMAGE_OPENJDK) --no-cache -t $(BASE_IMAGE_NAME):$(VERSION) --target base .
Copy link
Contributor

Choose a reason for hiding this comment

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

I would avoid the alignment

Makefile Outdated

docker build --build-arg base_image=$(BASE_IMAGE_OPENJDK) --no-cache -t $(WITHTOOLS_IMAGE_NAME):$(VERSION) --target withtools .
docker build --build-arg base_image=$(BASE_IMAGE_OPENJ9) --no-cache -t $(WITHTOOLS_IMAGE_NAME):$(OPENJ9_VERSION) --target withtools .
docker build --build-arg base_image=$(BASE_IMAGE_OPENJDK) --no-cache -t $(WITHTOOLS_IMAGE_NAME):$(VERSION) --target withtools .
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here

Suggested change
docker build --build-arg base_image=$(BASE_IMAGE_OPENJDK) --no-cache -t $(WITHTOOLS_IMAGE_NAME):$(VERSION) --target withtools .
docker build --build-arg base_image=$(BASE_IMAGE_OPENJDK) --no-cache -t $(WITHTOOLS_IMAGE_NAME):$(VERSION) --target withtools .

Copy link
Contributor

@lolgab lolgab left a comment

Choose a reason for hiding this comment

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

Commented about the alignment otherwise LGTM :)

@zhamborova zhamborova merged commit 508c49e into master Feb 3, 2026
3 checks passed
@zhamborova zhamborova deleted the CY-7657_java11 branch February 3, 2026 20:29
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.

4 participants