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

Adjust OpenJDK image deprecation notice to fully deprecate #2162

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

tianon
Copy link
Member

@tianon tianon commented Jun 10, 2022

Closes docker-library/openjdk#505 (see also)

The information in https://snyk.io/jvm-ecosystem-report-2021/ (from that thread) is really interesting/useful IMO.

I think we probably need to try and do more than just this, but maybe this is an OK start?
(I checked some metrics on the five-years-deprecated old java image and the amount of active usage still today hurt me 😩😭)

@tianon
Copy link
Member Author

tianon commented Jun 15, 2022

Updated to add a note about Early Access tags per docker-library/openjdk#505 (comment) (and an explicit timeframe of "July 2022" from docker-library/openjdk#505).

@tianon tianon merged commit 4338f09 into docker-library:master Jul 1, 2022
@tianon tianon deleted the openjdk branch July 1, 2022 23:23
@tianon
Copy link
Member Author

tianon commented Jul 1, 2022

FYI to downstream maintainers (FROM openjdk:xxx) 🙈

@tianon
Copy link
Member Author

tianon commented Jul 25, 2022

FYI to anyone following here -- docker-library/official-images#12851 is the likely-final update to the 8 and 11 update series.

@yosifkit
Copy link
Member

Just to be clear, the 8 and 11 versions of Java will still be source updated, just the openjdk images will be unlikely to receive any more of those updates. There are other up-to-date jdk images available as noted in the content of this PR.

gengliangwang pushed a commit to apache/spark that referenced this pull request Aug 30, 2022
…emurin

### What changes were proposed in this pull request?
This PR switchs the base image from [`openjdk`](https://hub.docker.com/_/openjdk) to [`eclipse-temurin`](https://hub.docker.com/_/eclipse-temurin) (original openjdk).

The core change is: the OS of base image changes `debian-bullseye` to `ubuntu-focal` (based on debian bullseye).

### Why are the changes needed?

- According to docker-library/openjdk#505 and docker-library/docs#2162, openjdk:8/11 image is EOL and Eclipse Temurin replaces this, the original openjdk image will `remove the 11 and 8 tags (in October 2022, perhaps)` (we are using it in spark), so we have to switch this before it happens.

- The `openjdk` is [not update anymore](https://adoptopenjdk.net/upstream.html) (the last releases were 8u342 and 11.0.16, Eclipse Temurin replace is recommanded by adoptopenjdk) that means even the 8/11 tag is not removed, we still need to switch `openjdk`.

- There were [many docker official image](https://github.com/search?q=org%3Adocker-library+temurin&type=code) already switch openjdk to eclipse-temurin.

- According the [jvm ecosystem report](https://snyk.io/jvm-ecosystem-report-2021) from docker-library/docs#2162 , AdoptOpenJDK(now donation to eclipse foundation and rename to eclipse temurin) builds of OpenJDK most popular in production.

- An ideal long-term solution is that we only choose the jdk version and leave the adaptation of OS to the corresponding openjdk official image (just like eclipse-temurin are suppoort [ubuntu, alpine, centos](https://github.com/adoptium/containers/tree/main/11/jre))

- The alternate solution is we just swith `openjdk` image to `debian-bullseye` with openjdk 11 installation. like: Yikun#163. But it makes spark image **depends on debian OS more**, that means we will diffcult to support the Java version which debian OS doesn't support (such as openjdk-8-jre is not be supported in current debian anymore).

For the above reason, I think `eclipse-temurin` is a good choice.

### Does this PR introduce _any_ user-facing change?

Yes, the docker images base image changes.

### How was this patch tested?
CI passed, I also have a local test on: Yikun#162

Closes #37705 from Yikun/switch-temurin.

Authored-by: Yikun Jiang <[email protected]>
Signed-off-by: Gengliang Wang <[email protected]>
a0x8o added a commit to a0x8o/spark that referenced this pull request Aug 30, 2022
…emurin

### What changes were proposed in this pull request?
This PR switchs the base image from [`openjdk`](https://hub.docker.com/_/openjdk) to [`eclipse-temurin`](https://hub.docker.com/_/eclipse-temurin) (original openjdk).

The core change is: the OS of base image changes `debian-bullseye` to `ubuntu-focal` (based on debian bullseye).

### Why are the changes needed?

- According to docker-library/openjdk#505 and docker-library/docs#2162, openjdk:8/11 image is EOL and Eclipse Temurin replaces this, the original openjdk image will `remove the 11 and 8 tags (in October 2022, perhaps)` (we are using it in spark), so we have to switch this before it happens.

- The `openjdk` is [not update anymore](https://adoptopenjdk.net/upstream.html) (the last releases were 8u342 and 11.0.16, Eclipse Temurin replace is recommanded by adoptopenjdk) that means even the 8/11 tag is not removed, we still need to switch `openjdk`.

- There were [many docker official image](https://github.com/search?q=org%3Adocker-library+temurin&type=code) already switch openjdk to eclipse-temurin.

- According the [jvm ecosystem report](https://snyk.io/jvm-ecosystem-report-2021) from docker-library/docs#2162 , AdoptOpenJDK(now donation to eclipse foundation and rename to eclipse temurin) builds of OpenJDK most popular in production.

- An ideal long-term solution is that we only choose the jdk version and leave the adaptation of OS to the corresponding openjdk official image (just like eclipse-temurin are suppoort [ubuntu, alpine, centos](https://github.com/adoptium/containers/tree/main/11/jre))

- The alternate solution is we just swith `openjdk` image to `debian-bullseye` with openjdk 11 installation. like: Yikun/spark#163. But it makes spark image **depends on debian OS more**, that means we will diffcult to support the Java version which debian OS doesn't support (such as openjdk-8-jre is not be supported in current debian anymore).

For the above reason, I think `eclipse-temurin` is a good choice.

### Does this PR introduce _any_ user-facing change?

Yes, the docker images base image changes.

### How was this patch tested?
CI passed, I also have a local test on: Yikun/spark#162

Closes #37705 from Yikun/switch-temurin.

Authored-by: Yikun Jiang <[email protected]>
Signed-off-by: Gengliang Wang <[email protected]>
a0x8o added a commit to a0x8o/spark that referenced this pull request Dec 30, 2022
…emurin

### What changes were proposed in this pull request?
This PR switchs the base image from [`openjdk`](https://hub.docker.com/_/openjdk) to [`eclipse-temurin`](https://hub.docker.com/_/eclipse-temurin) (original openjdk).

The core change is: the OS of base image changes `debian-bullseye` to `ubuntu-focal` (based on debian bullseye).

### Why are the changes needed?

- According to docker-library/openjdk#505 and docker-library/docs#2162, openjdk:8/11 image is EOL and Eclipse Temurin replaces this, the original openjdk image will `remove the 11 and 8 tags (in October 2022, perhaps)` (we are using it in spark), so we have to switch this before it happens.

- The `openjdk` is [not update anymore](https://adoptopenjdk.net/upstream.html) (the last releases were 8u342 and 11.0.16, Eclipse Temurin replace is recommanded by adoptopenjdk) that means even the 8/11 tag is not removed, we still need to switch `openjdk`.

- There were [many docker official image](https://github.com/search?q=org%3Adocker-library+temurin&type=code) already switch openjdk to eclipse-temurin.

- According the [jvm ecosystem report](https://snyk.io/jvm-ecosystem-report-2021) from docker-library/docs#2162 , AdoptOpenJDK(now donation to eclipse foundation and rename to eclipse temurin) builds of OpenJDK most popular in production.

- An ideal long-term solution is that we only choose the jdk version and leave the adaptation of OS to the corresponding openjdk official image (just like eclipse-temurin are suppoort [ubuntu, alpine, centos](https://github.com/adoptium/containers/tree/main/11/jre))

- The alternate solution is we just swith `openjdk` image to `debian-bullseye` with openjdk 11 installation. like: Yikun/spark#163. But it makes spark image **depends on debian OS more**, that means we will diffcult to support the Java version which debian OS doesn't support (such as openjdk-8-jre is not be supported in current debian anymore).

For the above reason, I think `eclipse-temurin` is a good choice.

### Does this PR introduce _any_ user-facing change?

Yes, the docker images base image changes.

### How was this patch tested?
CI passed, I also have a local test on: Yikun/spark#162

Closes #37705 from Yikun/switch-temurin.

Authored-by: Yikun Jiang <[email protected]>
Signed-off-by: Gengliang Wang <[email protected]>
a0x8o added a commit to a0x8o/spark that referenced this pull request Dec 30, 2022
…emurin

### What changes were proposed in this pull request?
This PR switchs the base image from [`openjdk`](https://hub.docker.com/_/openjdk) to [`eclipse-temurin`](https://hub.docker.com/_/eclipse-temurin) (original openjdk).

The core change is: the OS of base image changes `debian-bullseye` to `ubuntu-focal` (based on debian bullseye).

### Why are the changes needed?

- According to docker-library/openjdk#505 and docker-library/docs#2162, openjdk:8/11 image is EOL and Eclipse Temurin replaces this, the original openjdk image will `remove the 11 and 8 tags (in October 2022, perhaps)` (we are using it in spark), so we have to switch this before it happens.

- The `openjdk` is [not update anymore](https://adoptopenjdk.net/upstream.html) (the last releases were 8u342 and 11.0.16, Eclipse Temurin replace is recommanded by adoptopenjdk) that means even the 8/11 tag is not removed, we still need to switch `openjdk`.

- There were [many docker official image](https://github.com/search?q=org%3Adocker-library+temurin&type=code) already switch openjdk to eclipse-temurin.

- According the [jvm ecosystem report](https://snyk.io/jvm-ecosystem-report-2021) from docker-library/docs#2162 , AdoptOpenJDK(now donation to eclipse foundation and rename to eclipse temurin) builds of OpenJDK most popular in production.

- An ideal long-term solution is that we only choose the jdk version and leave the adaptation of OS to the corresponding openjdk official image (just like eclipse-temurin are suppoort [ubuntu, alpine, centos](https://github.com/adoptium/containers/tree/main/11/jre))

- The alternate solution is we just swith `openjdk` image to `debian-bullseye` with openjdk 11 installation. like: Yikun/spark#163. But it makes spark image **depends on debian OS more**, that means we will diffcult to support the Java version which debian OS doesn't support (such as openjdk-8-jre is not be supported in current debian anymore).

For the above reason, I think `eclipse-temurin` is a good choice.

### Does this PR introduce _any_ user-facing change?

Yes, the docker images base image changes.

### How was this patch tested?
CI passed, I also have a local test on: Yikun/spark#162

Closes #37705 from Yikun/switch-temurin.

Authored-by: Yikun Jiang <[email protected]>
Signed-off-by: Gengliang Wang <[email protected]>
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

Successfully merging this pull request may close these issues.

Retiring OpenJDK Project Builds for JDK 11 and JDK 8
2 participants