Is there a way i can use OpenJDK11 with Centos7 image?

18 views
Skip to first unread message

Ankush Sharma

unread,
Jul 10, 2020, 12:31:56 PM7/10/20
to Jenkins Users
Hi,

I tried hosting Jenkins with lts-jdk11 image. It worked fine at first. But then there was need to install specific softwares which isn't compatible with Debian 9 stretch on which lts-jdk11 image is based. Then i tried lts-centos7 image and needed softwares are working fine but then all my projects are java 11+ compatible, so all builds are failing now.

Is there a centos7 with JDK11 image available, or is there any way i can create my own image with centos7 jenkins installed on JDK11?

Please help!!!

Slide

unread,
Jul 10, 2020, 12:58:35 PM7/10/20
to Jenkins User Mailing List
There is not a JDK11 CentOS image (PR's are welcome!). You could look at the current CentOS docker image Dockerfiles (see  https://github.com/jenkinsci/docker) and build one based on that as a basis. If you get something working, a PR would be great so other people can use it as well.

Regards,

Alex

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8172926d-3d40-4e4e-94bf-a1054cd0c5dfo%40googlegroups.com.


--

Martijn Verburg

unread,
Jul 20, 2020, 9:14:33 AM7/20/20
to jenkins...@googlegroups.com
You may find one of the AdoptOpenJDK images a useful base point.

Cheers,
Martijn


Reply all
Reply to author
Forward
0 new messages