Merge pull request #2142 from infosiftr/openjdk-warning
Add more description around OpenJDK to make status more clear
This commit is contained in:
commit
f20b952923
|
|
@ -1 +1 @@
|
||||||
OpenJDK is an open-source implementation of the Java Platform, Standard Edition
|
"Vanilla" builds of OpenJDK (an open-source implementation of the Java Platform, Standard Edition)
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
# **WARNING**
|
||||||
|
|
||||||
|
If you are a user/consumer of Java, this image is probably not what you expect!
|
||||||
|
|
||||||
|
These images contain "vanilla" builds of the OpenJDK project provided by [Oracle](https://jdk.java.net/) or [the relevant "updates project lead"](https://github.com/docker-library/openjdk/issues/320#issuecomment-494050246) (depending on the version).
|
||||||
|
|
||||||
|
For a more "supported" experience, we recommend one of the following other Official Images (listed in alphabetical order with no intentional or implied preference):
|
||||||
|
|
||||||
|
- [`amazoncorretto`](https://hub.docker.com/_/amazoncorretto)
|
||||||
|
- [`eclipse-temurin`](https://hub.docker.com/_/eclipse-temurin)
|
||||||
|
- [`ibm-semeru-runtimes`](https://hub.docker.com/_/ibm-semeru-runtimes)
|
||||||
|
- [`ibmjava`](https://hub.docker.com/_/ibmjava)
|
||||||
|
- [`sapmachine`](https://hub.docker.com/_/sapmachine)
|
||||||
|
|
@ -106,8 +106,10 @@ for image in "${images[@]}"; do
|
||||||
|
|
||||||
deprecated=
|
deprecated=
|
||||||
if [ -f "$repo/deprecated.md" ]; then
|
if [ -f "$repo/deprecated.md" ]; then
|
||||||
deprecated=$'# **DEPRECATION NOTICE**\n\n'
|
deprecated="$(< "$repo/deprecated.md")"
|
||||||
deprecated+="$(cat "$repo/deprecated.md")"
|
if [ "${deprecated:0:2}" != '# ' ]; then
|
||||||
|
deprecated=$'# **DEPRECATION NOTICE**\n\n'"$deprecated"
|
||||||
|
fi
|
||||||
deprecated+=$'\n\n'
|
deprecated+=$'\n\n'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue