Skip to content

Utilize Dockerized jdk over Ubuntu JDK#10

Open
chriswier wants to merge 1 commit intotrampgeek:masterfrom
chriswier:dockerized-jdk
Open

Utilize Dockerized jdk over Ubuntu JDK#10
chriswier wants to merge 1 commit intotrampgeek:masterfrom
chriswier:dockerized-jdk

Conversation

@chriswier
Copy link
Copy Markdown

This merge creates a multi-layer Docker container for jobeinabox, utilizing the published Docker containers for openjdk and Ubuntu 20.04 LTS. The openjdk containers are typically patched for security issues much quicker than Ubuntu team patches their packages. This commit pulls in the latest openjdk:16-jdk image, and places it into the same location that Ubuntu does in the filesystem (/usr/lib/jvm/java-16-openjdk-amd64). It utilizes the update-alternatives system in Ubuntu to correctly set paths for the java and javac binary.

The end result is that the Java version goes from the Ubuntu 16.0.1 version to the Dockerize openjdk:16-jdk version, which is 16.0.2.

@trampgeek
Copy link
Copy Markdown
Owner

Sorry about not actioning this Chris. We don't use Java in our production systems here so TBH this was just a low-priority pull that I never got around to actioning.

JobeInABox is now configured for Ubuntu24.04 which I think has JDK21 as its default Java. I'd rather run with the default Java on whatever base OS JobeInABox is running in order to avoid having to track changes in JDK versions. Are there any significant security issues in the default JDK in Ubuntu24.04?

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.

2 participants