-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Using the ibmjre no longer works with the java_buildpack #902
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
Comments
@kevin-ortega Hi, thanks for raising this up. The buildpack won't be able to consume that index.yml file. It needs to retain the same format as the original file. Is there a reason on your end for the change? Would it be possible to have the original format? |
@dmikusa-pivotal Hi Daniel, I do not know why the IBM Java team changed the format of the index file. The liberty buildpack is using the new format and index.yml location. I am in discussions with the Java team to see if they will continue to maintain the original index. Since I opened this issue I realized that the repo where the JREs are located still exists and it's the index file that wasn't updated as new JREs were released. If I can get the Java team to continue to maintain the index then I will close this issue. I guess an alternative would be to host the index somewhere else but then it would have to be maintained and updated when new JREs are released. |
@dmikusa-pivotal Some good news, I did convince the Java team to update the index.yml at https://raw.githubusercontent.com/ibmruntimes/ci.docker/master/ibmjava/meta/jre/linux/x86_64. So, I think for now the java_buildpack will continue to work with the IBM JRE. I don't know how long they will keep that index updated. It still may be a good idea if the java_buildpack worked with the new index format. The immediate issue is resolved and this issue can be closed. |
@kevin-ortega Thanks so much for checking into this. I'm glad to hear they will keep maintaining it. Let's see how this goes. If that doesn't work, we can look at hosting the index.yml elsewhere. |
@dmikusa-pivotal I don't see an option to reopen this issue. The IBM Java team is now insisting that the java buildpack must convert to the new URL and index format. They are not going to maintain the index at https://raw.githubusercontent.com/ibmruntimes/ci.docker/master/ibmjava/meta/jre/linux/x86_64. For java 8 the buildpack must use https://raw.githubusercontent.com/ibmruntimes/ci.docker/master/ibmjava/meta/8.0/jre/linux/x86_64/index.yml Format:
|
The IBM Java team removed the repo where the java_buildpack was downloading the IBM JRE.
The index.yml now resides at https://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/meta/8.0/sfj/linux/x86_64
Additionally, the url for the jvmkill agent no longer exists.
Just changing the repository_root for the jre in the config file is not sufficient because the index format has also changed.
Previously, the format was:
Now the format is:
I think the repo root for the killjvm agent can be changed to https://github.com/ibmruntimes/jvmkill/tree/jvmkill-ibmagent/jvmkill-agent
The text was updated successfully, but these errors were encountered: