Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 11 with CentOS instead of Fedora base image #193

Closed
vorburger opened this issue Nov 8, 2018 · 4 comments
Closed

Java 11 with CentOS instead of Fedora base image #193

vorburger opened this issue Nov 8, 2018 · 4 comments

Comments

@vorburger
Copy link
Collaborator

vorburger commented Nov 8, 2018

Once a CentOS 7.6 with Java 11 packages is available (it is not yet, at the time of opening this), then the Fedora based Java 11 support introduced in #160 could switch the base image.

Would we like to keep the Fedora one, or remove it again?

See also #192.

vorburger added a commit to vorburger/s2i that referenced this issue Nov 14, 2018
based on Fedora 29 base image, could be switched
to CentOS 7.6 later when that's available (fabric8io-images#193).
@vorburger vorburger mentioned this issue Nov 14, 2018
vorburger added a commit that referenced this issue Nov 21, 2018
based on Fedora 29 base image, could be switched
to CentOS 7.6 later when that's available (#193).
@ctron
Copy link
Contributor

ctron commented Dec 5, 2018

It looks like CentOS 7.6 is released. I can now do:

yum install java-11-openjdk

I think it is time for Java 11.

@vorburger
Copy link
Collaborator Author

@ctron but there is no CentOS 7.6 container image, yet, see https://hub.docker.com/r/library/centos/tags/ ... @rhuss @gunnarmorling please shout when you see it, and I'm happy to the needful ASAP.

@ctron
Copy link
Contributor

ctron commented Dec 6, 2018

I think there is:

image

[jreimann@jreimann ~]$ docker run --rm -ti centos:7 yum list "java-11-*"
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
 * base: mirror.nforce.com
 * extras: ftp.nluug.nl
 * updates: mirror.prolocation.net
base                                                                                                                                                                   | 3.6 kB  00:00:00     
extras                                                                                                                                                                 | 3.4 kB  00:00:00     
updates                                                                                                                                                                | 3.4 kB  00:00:00     
(1/4): base/7/x86_64/group_gz                                                                                                                                          | 166 kB  00:00:00     
(2/4): extras/7/x86_64/primary_db                                                                                                                                      | 153 kB  00:00:00     
(3/4): updates/7/x86_64/primary_db                                                                                                                                     | 1.3 MB  00:00:00     
(4/4): base/7/x86_64/primary_db                                                                                                                                        | 6.0 MB  00:00:01     
Available Packages
java-11-openjdk.i686                                                                                  1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk.x86_64                                                                                1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-debug.i686                                                                            1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-debug.x86_64                                                                          1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-demo.i686                                                                             1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-demo.x86_64                                                                           1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-demo-debug.i686                                                                       1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-demo-debug.x86_64                                                                     1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-devel.i686                                                                            1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-devel.x86_64                                                                          1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-devel-debug.i686                                                                      1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-devel-debug.x86_64                                                                    1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-headless.i686                                                                         1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-headless.x86_64                                                                       1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-headless-debug.i686                                                                   1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-headless-debug.x86_64                                                                 1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-javadoc.i686                                                                          1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-javadoc.x86_64                                                                        1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-javadoc-debug.i686                                                                    1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-javadoc-debug.x86_64                                                                  1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-javadoc-zip.i686                                                                      1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-javadoc-zip.x86_64                                                                    1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-javadoc-zip-debug.i686                                                                1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-javadoc-zip-debug.x86_64                                                              1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-jmods.i686                                                                            1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-jmods.x86_64                                                                          1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-jmods-debug.i686                                                                      1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-jmods-debug.x86_64                                                                    1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-src.i686                                                                              1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-src.x86_64                                                                            1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-src-debug.i686                                                                        1:11.0.1.13-3.el7_6                                                              updates
java-11-openjdk-src-debug.x86_64                                                                      1:11.0.1.13-3.el7_6                                                              updates

@vorburger
Copy link
Collaborator Author

Would we like to keep the Fedora one, or remove it again?

I'll keep the current fedora-java11 from #189 / #160 as-is for now, and not remove it, just in case it would be useful in the future to test something Fedora against CentOS, and for now just add an additional centos-java11. But in #203 we'll only push the CentOS one to Docker Hub, not the Fedora one, to avoid confusion.

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

No branches or pull requests

2 participants