Skip to content

[CY-7657] Add java 11 image - #59

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

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

Conversation

@zhamborova

Copy link
Copy Markdown
Contributor

No description provided.

CopilotAI review requested due to automatic review settings February 3, 2026 13:46

CopilotAI 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

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.

FileDescription
README.mdUpdated documentation to list OpenJDK 11 JRE among available Java versions
MakefileAdded 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.

CopilotAI review requested due to automatic review settings February 3, 2026 13:57

CopilotAI 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

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.

Comment threadREADME.md Outdated
Comment threadMakefile Outdated
@codacy-production

codacy-productionBot commented Feb 3, 2026

Copy link
Copy Markdown

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>
CopilotAI review requested due to automatic review settings February 3, 2026 14:12

CopilotAI 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

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.

Comment threadMakefile
@zhamborovazhamborova changed the title [CY7657] Add java 11 image[CY-7657] Add java 11 imageFeb 3, 2026
machadoit
machadoit previously approved these changes Feb 3, 2026

@machadoitmachadoit left a comment

Copy link
Copy Markdown
Contributor

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!

Comment threadMakefile 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
Copy Markdown
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

Comment threadMakefile 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
Copy Markdown
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 .

@lolgablolgab left a comment

Copy link
Copy Markdown
Contributor

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 masterFeb 3, 2026
3 checks passed
@zhamborova
zhamborova deleted the CY-7657_java11 branch February 3, 2026 20:29
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.

4 participants

@zhamborova@lolgab@machadoit