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

Providing Oracle JDK Docker images on Dockerhub #76

Closed
ioft opened this Issue Mar 17, 2016 · 11 comments

Comments

6 participants
@ioft

ioft commented Mar 17, 2016

Dear Oracle Team,

the OpenHAB team is currently discussing the possibility to provide OpenHAB as a Docker image in order to support a wide range of devices. Unfortunately using OpenJDK still has some disadvantages compared to the OracleJDK, so I'd like to know if there is any chance to use the Oracle JDK in combination with OpenHAB without getting in conflict with Oracle`s licensing terms & conditions. I believe the smartest way to do this is using a Docker Java image provided by Oracle itself.

Any Ideas?

@Djelibeybi

This comment has been minimized.

Member

Djelibeybi commented Mar 17, 2016

Our legal team have advised that the Oracle JDK license does not permit us to ship the JDK as a container at this time. Therefore, we will not be shipping a complete container.

However, we do provide a Dockerfile that can be used to build your own Oracle JDK container and assuming you meet the terms and conditions of the JDK distribution license (as determined by your own legal team), that should be fine.

@Djelibeybi Djelibeybi closed this Mar 17, 2016

@Djelibeybi

This comment has been minimized.

Member

Djelibeybi commented Mar 17, 2016

Sample Dockerfiles for Oracle JDK here: https://github.com/oracle/docker-images/tree/master/OracleJDK

@ioft

This comment has been minimized.

ioft commented Mar 17, 2016

But you are Oracle, aren't you?

BTW: The Dockerfile you are providing doesn't work on ARM / ARM64 and many other architectures≠x64

@Djelibeybi

This comment has been minimized.

Member

Djelibeybi commented Mar 17, 2016

We are Oracle, yes. But the distribution license for the JDK only permits distribution with a Java application. Distributing the JDK by itself is not permitted. Therefore a container with only the JDK and no application is not permitted, but a container with the JDK+application is (probably) fine.

However, I am not a lawyer and I'm paraphrasing the advice I was given by our legal team. You should seek your own legal advice for shipping the Oracle JDK with your application.

Note that Oracle Linux is not supported on non-Intel hardware, so it's not surprising the Dockerfile doesn't work on ARM/ARM64. You'll have to use a different base image anyway, as we have no plans to release non-Intel Dockerfiles, i.e. Dockerfiles that don't use Oracle Linux as the base userspace.

@cyberkov

This comment has been minimized.

cyberkov commented Mar 17, 2016

Hello @Djelibeybi and thank you for the clarification. If I understand it correctly, it would be ok to put the Oracle JDK into the same Dockerfile as my Java App (in that case openHAB), but not into it's own layer as this would go against the license?

@ioft

This comment has been minimized.

ioft commented Mar 17, 2016

But the distribution license for the JDK only permits distribution with a Java application. ... but a container with the JDK+application is (probably) fine.

So if we distribute the OrcaleJDK + OpenHAB within one Docker image it should be fine (meaning that it doesn't violate Oracle's licensing T&C)? Which person within your organization might be able to confirm this statement? The OpenHAB project is driven by volunteers (mostly engineers but not lawyers).

@Djelibeybi

This comment has been minimized.

Member

Djelibeybi commented Mar 17, 2016

Oracle does not provide legal advice to projects, unfortunately. You might be able to get a statement from the Java Product team via the Java forums/mailing lists though.

@brunoborges

This comment has been minimized.

Contributor

brunoborges commented Mar 18, 2016

@ioft, @cyberkov, if you know a JUG, ask your JUG Leader about this matter. He has the right communication channel with the Java Product team.

@kaikreuzer

This comment has been minimized.

kaikreuzer commented Mar 19, 2016

as we have no plans to release non-Intel Dockerfiles

This is indeed the biggest issue, since probably 99% of openHAB users are running it on some ARM-based system.
So is the statement "but a container with the JDK+application is (probably) fine" still valid if we would build a Docker image for ARM with JDK+openHAB ourselves or is this a completely different situation so that there is anyhow no chance not to violate the license terms?

@umiddelb

This comment has been minimized.

umiddelb commented Mar 19, 2016

@kaikreuzer Could you get in touch with some JUG leader / representative?

@kaikreuzer

This comment has been minimized.

kaikreuzer commented Mar 19, 2016

@umiddelb No need, I already directly talked to Donald Smith. But the answer is the same: Oracle does not give any legal advice...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment