diff --git a/OracleJava/24/Dockerfile.ol9 b/OracleJava/25/Dockerfile.ol9 similarity index 85% rename from OracleJava/24/Dockerfile.ol9 rename to OracleJava/25/Dockerfile.ol9 index 051cc32060..c7a1451c96 100644 --- a/OracleJava/24/Dockerfile.ol9 +++ b/OracleJava/25/Dockerfile.ol9 @@ -4,19 +4,19 @@ # # ORACLE DOCKERFILES PROJECT # -------------------------- -# This is the Dockerfile for Oracle JDK 24 on Oracle Linux 9 +# This is the Dockerfile for Oracle JDK 25 on Oracle Linux 9 # # REQUIRED FILES TO BUILD THIS IMAGE # ---------------------------------- -# This dockerfile will download a copy of JDK 24 from -# https://download.oracle.com/java/24/latest/jdk-24_linux-_bin.tar.gz +# This dockerfile will download a copy of JDK 25 from +# https://download.oracle.com/java/25/latest/jdk-25_linux-_bin.tar.gz # # It will use either x64 or aarch64 depending on the target platform # # HOW TO BUILD THIS IMAGE # ----------------------- # Run: -# $ docker build --file Dockerfile.ol9 --tag oracle/jdk:24 . +# $ docker build --file Dockerfile.ol9 --tag oracle/jdk:25 . # # This command is already scripted in build.sh so you can alternatively run # $ bash build.sh @@ -37,8 +37,8 @@ ENV LANG en_US.UTF-8 # Environment variables for the builder image. # Required to validate that you are using the correct file -ENV JAVA_URL=https://download.oracle.com/java/24/latest \ - JAVA_HOME=/usr/java/jdk-24 +ENV JAVA_URL=https://download.oracle.com/java/25/latest \ + JAVA_HOME=/usr/java/jdk-25 ## SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -48,7 +48,7 @@ RUN set -eux; \ if [ "$ARCH" = "x86_64" ]; \ then ARCH="x64"; \ fi && \ - JAVA_PKG="$JAVA_URL"/jdk-24_linux-"${ARCH}"_bin.tar.gz ; \ + JAVA_PKG="$JAVA_URL"/jdk-25_linux-"${ARCH}"_bin.tar.gz ; \ JAVA_SHA256=$(curl "$JAVA_PKG".sha256) ; \ curl --output /tmp/jdk.tgz "$JAVA_PKG" && \ echo "$JAVA_SHA256" */tmp/jdk.tgz | sha256sum -c; \ @@ -60,7 +60,7 @@ FROM oraclelinux:9 # Default to UTF-8 file.encoding ENV LANG en_US.UTF-8 -ENV JAVA_HOME=/usr/java/jdk-24 +ENV JAVA_HOME=/usr/java/jdk-25 ENV PATH $JAVA_HOME/bin:$PATH # If you need the Java Version you can read it from the release file with diff --git a/OracleJava/24/build.sh b/OracleJava/25/build.sh similarity index 61% rename from OracleJava/24/build.sh rename to OracleJava/25/build.sh index 80ebb11431..462574e55a 100755 --- a/OracleJava/24/build.sh +++ b/OracleJava/25/build.sh @@ -4,5 +4,5 @@ # # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. -echo "Building Oracle JDK 24 on Oracle Linux 9" -docker build --file Dockerfile.ol9 --tag oracle/jdk:24-ol9 . \ No newline at end of file +echo "Building Oracle JDK 25 on Oracle Linux 9" +docker build --file Dockerfile.ol9 --tag oracle/jdk:25-ol9 . \ No newline at end of file diff --git a/OracleJava/README.md b/OracleJava/README.md index 75e769d068..56202f782d 100644 --- a/OracleJava/README.md +++ b/OracleJava/README.md @@ -1,18 +1,18 @@ # Oracle Java in Containers -This repository contains sample container configurations to facilitate installation and environment setup for DevOps users. This project provides container images based on Oracle Linux for JDK versions 24, 21, 17, 11 and 8 as well as Server JRE 8. +This repository contains sample container configurations to facilitate installation and environment setup for DevOps users. This project provides container images based on Oracle Linux for JDK versions 25, 21, 17, 11 and 8 as well as Server JRE 8. Oracle Java Server JRE provides the features from Oracle Java JDK commonly required for server-side applications (i.e. Running a Java EE application server). For more information about Server JRE, visit the [Understanding the Server JRE blog entry](https://blogs.oracle.com/java-platform-group/understanding-the-server-jre) from the Java Product Management team. ## Building the Oracle Java base image -For the most recent JDK Releases ( JDK 24 and 21), offered under the [Oracle No-Fee Terms and Conditions](https://www.java.com/freeuselicense) (NFTC), the required JDK binaries will be downloaded from [Oracle](https://www.oracle.com/javadownload) as part of the build using curl. +For the most recent JDK Releases ( JDK 25 and 21), offered under the [Oracle No-Fee Terms and Conditions](https://www.java.com/freeuselicense) (NFTC), the required JDK binaries will be downloaded from [Oracle](https://www.oracle.com/javadownload) as part of the build using curl. -e.g., To build the JDK 24 container image run: +e.g., To build the JDK 25 container image run: ```bash -cd ../OracleJava/24 -docker build --file Dockerfile.ol9 --tag oracle/jdk:24 . +cd ../OracleJava/25 +docker build --file Dockerfile.ol9 --tag oracle/jdk:25 . ``` Updates to prior LTS releases: JDK 17, JDK 11, JDK 8, and Server JRE 8 are offered under the [Oracle Technology Network License Agreement for Oracle Java SE](https://www.java.com/otnlicense). Users must accept the license terms, generate a download token, and provide it as a build argument. Token generation is documented on [https://docs.cloud.oracle.com/en-us/iaas/jms/doc/java-download.html](https://docs.cloud.oracle.com/en-us/iaas/jms/doc/java-download.html). @@ -31,7 +31,7 @@ cd ../OracleJava/8/serverjre docker build --file Dockerfile.ol8 --tag oracle/serverjre:8 --build-arg JDK8_TOKEN=<$token> . ``` -For the NFTC releases (JDK 24 and 21) the right command is already scripted in `build.sh` so you can alternatively run: +For the NFTC releases (JDK 25 and 21) the right command is already scripted in `build.sh` so you can alternatively run: ```bash bash build.sh @@ -39,7 +39,7 @@ bash build.sh ### Parent image OS version -The Oracle Java image for JDK 24 uses `oraclelinux:9` as the parent image. +The Oracle Java image for JDK 25 uses `oraclelinux:9` as the parent image. The Oracle Java image for JDK 21 and earlier use `oraclelinux:8` as the parent image. @@ -55,7 +55,7 @@ Server JRE is offered only for x86-64 systems, all other images are offered for ## Licenses -JDK 24 and 21 are downloaded, as part of the build process, from the [Oracle Website](https://www.oracle.com/javadownload) under the [Oracle No-Fee Terms and Conditions (NFTC)](https://java.com/freeuselicense). +JDK 25 and 21 are downloaded, as part of the build process, from the [Oracle Website](https://www.oracle.com/javadownload) under the [Oracle No-Fee Terms and Conditions (NFTC)](https://java.com/freeuselicense). The JDK 17, JDK 11, JDK 8, and Server JRE 8 dockerfiles use Java Runtimes under the [Oracle Technology Network License Agreement for Oracle Java SE](https://www.java.com/otnlicense) @@ -63,4 +63,4 @@ All scripts and files hosted in this project and GitHub [`docker/OracleJava`](./ ## Customer Support -Oracle offers support for JDK 24, JDK 21, JDK 17, JDK 11, and JDK 8 (JDK and Server JRE) when running on certified operating systems in a container. For additional details on the JDK Certified System Configurations, please refer to the [Oracle Java SE Certified System Configuration Pages](https://www.oracle.com/technetwork/java/javaseproducts/documentation/index.html#sysconfig). +Oracle offers support for JDK 25, JDK 21, JDK 17, JDK 11, and JDK 8 (JDK and Server JRE) when running on certified operating systems in a container. For additional details on the JDK Certified System Configurations, please refer to the [Oracle Java SE Certified System Configuration Pages](https://www.oracle.com/technetwork/java/javaseproducts/documentation/index.html#sysconfig). diff --git a/OracleOpenJDK/24/Dockerfile.ol9 b/OracleOpenJDK/25/Dockerfile.ol9 similarity index 83% rename from OracleOpenJDK/24/Dockerfile.ol9 rename to OracleOpenJDK/25/Dockerfile.ol9 index d354460c6a..6c8cce9461 100644 --- a/OracleOpenJDK/24/Dockerfile.ol9 +++ b/OracleOpenJDK/25/Dockerfile.ol9 @@ -4,18 +4,18 @@ # # ORACLE DOCKERFILES PROJECT # -------------------------- -# This is the Dockerfile for Oracle OpenJDK 24 on Oracle Linux 9 +# This is the Dockerfile for Oracle OpenJDK 25 on Oracle Linux 9 # # REQUIRED FILES TO BUILD THIS IMAGE # ---------------------------------- # -# (1) openjdk-24.xx_linux-x64_bin.tar.gz -# Downloaded from https://jdk.java.net/24/ +# (1) openjdk-25.xx_linux-x64_bin.tar.gz +# Downloaded from https://jdk.java.net/25/ # # HOW TO BUILD THIS IMAGE # ----------------------- # Run: -# $ docker build --file Dockerfile.ol9 --tag oracle/openjdk:24 . +# $ docker build --file Dockerfile.ol9 --tag oracle/openjdk:25 . # # This command is already scripted in build.sh so you can alternatively run # $ bash build.sh @@ -25,8 +25,8 @@ FROM oraclelinux:9 LABEL maintainer="Aurelio Garcia-Ribeyro " -ENV JAVA_URL=https://download.java.net/java/GA/jdk24.0.2/fdc5d0102fe0414db21410ad5834341f/12/GPL \ - JAVA_HOME=/usr/java/jdk-24 \ +ENV JAVA_URL=https://download.java.net/java/GA/jdk25/bd75d5f9689641da8e1daabeccb5528b/36/GPL \ + JAVA_HOME=/usr/java/jdk-25 \ LANG=en_US.UTF-8 # If you need the Java Version you can read it from the release file with @@ -49,7 +49,7 @@ RUN set -eux; \ if [ "$ARCH" = "x86_64" ]; \ then ARCH="x64"; \ fi && \ - JAVA_PKG="$JAVA_URL"/openjdk-24.0.2_linux-"${ARCH}"_bin.tar.gz ; \ + JAVA_PKG="$JAVA_URL"/openjdk-25_linux-"${ARCH}"_bin.tar.gz ; \ JAVA_SHA256="$(curl "$JAVA_PKG".sha256)" ; \ curl --output /tmp/jdk.tgz "$JAVA_PKG" && \ echo "$JAVA_SHA256" */tmp/jdk.tgz | sha256sum -c -; \ diff --git a/OracleOpenJDK/24/build.sh b/OracleOpenJDK/25/build.sh similarity index 61% rename from OracleOpenJDK/24/build.sh rename to OracleOpenJDK/25/build.sh index 5b9f09e6fc..009ed7eb7c 100755 --- a/OracleOpenJDK/24/build.sh +++ b/OracleOpenJDK/25/build.sh @@ -4,5 +4,5 @@ # # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. -echo "Building OpenJDK 24 on Oracle Linux 9" -docker build --file Dockerfile.ol9 --tag oracle/openjdk:24-ol9 . +echo "Building OpenJDK 25 on Oracle Linux 9" +docker build --file Dockerfile.ol9 --tag oracle/openjdk:25-ol9 . diff --git a/OracleOpenJDK/README.md b/OracleOpenJDK/README.md index a964051309..2a0238f644 100644 --- a/OracleOpenJDK/README.md +++ b/OracleOpenJDK/README.md @@ -6,11 +6,11 @@ This repository contains sample container configurations to facilitate installat Navigate to the folder containing the `Dockerfile` and run `docker build`, tagging the image with the version number: -e.g. for OpenJDK 24 run +e.g. for OpenJDK 25 run ```bash -cd ../OracleOpenJDK/24 -docker build --file Dockerfile.ol9 --tag oracle/openjdk:24 . +cd ../OracleOpenJDK/25 +docker build --file Dockerfile.ol9 --tag oracle/openjdk:25 . ``` This command is already scripted in `build.sh` so you can alternatively run: @@ -21,7 +21,7 @@ bash build.sh ### Parent image OS version -The Oracle Java images for OpenJDK 24 uses `oraclelinux:9` as the default parent image. +The Oracle Java images for OpenJDK 25 uses `oraclelinux:9` as the default parent image. ## License