Closed Firefishy closed 5 years ago
This image uses the jdk coming along with jira. It will be okay as long the JDK will run inside alpine.
As of 8.0, Atlassian is still bundling Oracle JRE 8.
Unlike Oracle JRE, AdoptOpenJDK is not bundled with the Jira installers, and you need to install it on your own.
The reason for possibly switching is mentioned here:
Oracle will stop providing public updates for Oracle JDK 8 in January. This means that only Oracle customers with a paid subscription or support contract will be eligible for updates.
In order to provide you with another option, we now support running Jira 7.13 with AdoptOpenJDK 8. AdoptOpenJDK is free to use, and provides regular maintenance and security updates. Paid support for AdoptOpenJDK is also available from organisations such as IBM.
Here is some additional reading:
The official Confluence image switched some time ago; been fine in my environment. I wish I understood why they don't offer an official Jira image: it'd make the work here redundant, but they are the vendor...
A few notes:
I made the choice to use OpenJ9. See here for more information. If so desired, you can change this back to HotSpot by updating top line of the Dockerfile and build yourself.
Atlassian is going to switch the bundled installer from Oracle JDK to use AdoptOpenJDK 8 in 8.2+ and AdoptOpenJDK 11 in 8.4+. See here for more information.
Jira does not currently work with 11.0.2.x. See here for more information. Supposedly it works with 11.0.1.x but I have not yet confirmed this.
Atlassian are now switching to using AdoptOpenJDK since 7.13+ https://confluence.atlassian.com/jirasoftware/jira-software-7-13-x-release-notes-957981568.html#JiraSoftware7.13.xreleasenotes-AdoptOpenJDK8comestoJira
Likely best to switch to docker image
adoptopenjdk/openjdk8:alpine
for theFROM
.