Skip to content

Commit 8bdd0e5

Browse files
aureliogrbDjelibeybi
authored andcommitted
updated JDK 23 and OpenJDK 23 to JDK 24 and OpenJDK 24
Signed-off-by: Aurelio Garcia-Ribeyro <[email protected]>
1 parent 45756cf commit 8bdd0e5

File tree

7 files changed

+40
-40
lines changed

7 files changed

+40
-40
lines changed

OracleJava/23/Dockerfile.ol9 renamed to OracleJava/24/Dockerfile.ol9

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
# Copyright (c) 2022, 2024 Oracle and/or its affiliates.
1+
# Copyright (c) 2022, 2025 Oracle and/or its affiliates.
22
#
33
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
44
#
55
# ORACLE DOCKERFILES PROJECT
66
# --------------------------
7-
# This is the Dockerfile for Oracle JDK 23 on Oracle Linux 9
7+
# This is the Dockerfile for Oracle JDK 24 on Oracle Linux 9
88
#
99
# REQUIRED FILES TO BUILD THIS IMAGE
1010
# ----------------------------------
11-
# This dockerfile will download a copy of JDK 23 from
12-
# https://download.oracle.com/java/23/latest/jdk-23_linux-<ARCH>_bin.tar.gz
11+
# This dockerfile will download a copy of JDK 24 from
12+
# https://download.oracle.com/java/24/latest/jdk-24_linux-<ARCH>_bin.tar.gz
1313
#
1414
# It will use either x64 or aarch64 depending on the target platform
1515
#
1616
# HOW TO BUILD THIS IMAGE
1717
# -----------------------
1818
# Run:
19-
# $ docker build --file Dockerfile.ol9 --tag oracle/jdk:23 .
19+
# $ docker build --file Dockerfile.ol9 --tag oracle/jdk:24 .
2020
#
2121
# This command is already scripted in build.sh so you can alternatively run
2222
# $ bash build.sh
@@ -37,8 +37,8 @@ ENV LANG en_US.UTF-8
3737
# Environment variables for the builder image.
3838
# Required to validate that you are using the correct file
3939

40-
ENV JAVA_URL=https://download.oracle.com/java/23/latest \
41-
JAVA_HOME=/usr/java/jdk-23
40+
ENV JAVA_URL=https://download.oracle.com/java/24/latest \
41+
JAVA_HOME=/usr/java/jdk-24
4242

4343
##
4444
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
@@ -48,7 +48,7 @@ RUN set -eux; \
4848
if [ "$ARCH" = "x86_64" ]; \
4949
then ARCH="x64"; \
5050
fi && \
51-
JAVA_PKG="$JAVA_URL"/jdk-23_linux-"${ARCH}"_bin.tar.gz ; \
51+
JAVA_PKG="$JAVA_URL"/jdk-24_linux-"${ARCH}"_bin.tar.gz ; \
5252
JAVA_SHA256=$(curl "$JAVA_PKG".sha256) ; \
5353
curl --output /tmp/jdk.tgz "$JAVA_PKG" && \
5454
echo "$JAVA_SHA256" */tmp/jdk.tgz | sha256sum -c; \
@@ -60,7 +60,7 @@ FROM oraclelinux:9
6060

6161
# Default to UTF-8 file.encoding
6262
ENV LANG en_US.UTF-8
63-
ENV JAVA_HOME=/usr/java/jdk-23
63+
ENV JAVA_HOME=/usr/java/jdk-24
6464
ENV PATH $JAVA_HOME/bin:$PATH
6565

6666
# If you need the Java Version you can read it from the release file with

OracleJava/23/build.sh renamed to OracleJava/24/build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
#
55
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
66

7-
echo "Building Oracle JDK 23 on Oracle Linux 9"
8-
docker build --file Dockerfile.ol9 --tag oracle/jdk:23-ol9 .
7+
echo "Building Oracle JDK 24 on Oracle Linux 9"
8+
docker build --file Dockerfile.ol9 --tag oracle/jdk:24-ol9 .

OracleJava/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# Oracle Java in Containers
22

3-
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 23, 21, 17, 11 and 8 as well as Server JRE 8.
3+
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.
44

55
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.
66

77
## Building the Oracle Java base image
88

9-
For the most recent JDK Releases ( JDK 23 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.
9+
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.
1010

11-
e.g., To build the JDK 23 container image run:
11+
e.g., To build the JDK 24 container image run:
1212

1313
```bash
14-
cd ../OracleJava/23
15-
docker build --file Dockerfile.ol9 --tag oracle/jdk:23 .
14+
cd ../OracleJava/24
15+
docker build --file Dockerfile.ol9 --tag oracle/jdk:24 .
1616
```
1717

1818
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 well as the OCI region for the token, as build arguments. 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,15 +31,15 @@ cd ../OracleJava/8/serverjre
3131
docker build --file Dockerfile.ol8 --tag oracle/serverjre:8 --build-arg JDK8_TOKEN=<$token> --build-arg OCI_REGION=<$region> .
3232
```
3333

34-
For the NFTC releases (JDK 23 and 21) the right command is already scripted in `build.sh` so you can alternatively run:
34+
For the NFTC releases (JDK 24 and 21) the right command is already scripted in `build.sh` so you can alternatively run:
3535

3636
```bash
3737
bash build.sh
3838
```
3939

4040
### Parent image OS version
4141

42-
The Oracle Java image for JDK 23 uses `oraclelinux:9` as the parent image.
42+
The Oracle Java image for JDK 24 uses `oraclelinux:9` as the parent image.
4343

4444
The Oracle Java image for JDK 21 and earlier use `oraclelinux:8` as the parent image.
4545

@@ -55,12 +55,12 @@ Server JRE is offered only for x86-64 systems, all other images are offered for
5555

5656
## Licenses
5757

58-
JDK 23 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).
58+
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).
5959

6060
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)
6161

6262
All scripts and files hosted in this project and GitHub [`docker/OracleJava`](./) repository, required to build the container images are, unless otherwise noted, released under the [UPL 1.0](https://oss.oracle.com/licenses/upl/) license.
6363

6464
## Customer Support
6565

66-
Oracle offers support for JDK 23, 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).
66+
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).

OracleOpenJDK/23/build.sh

-8
This file was deleted.

OracleOpenJDK/23/Dockerfile.ol9 renamed to OracleOpenJDK/24/Dockerfile.ol9

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# Copyright (c) 2022, 2024 Oracle and/or its affiliates.
1+
# Copyright (c) 2022, 2025 Oracle and/or its affiliates.
22
#
33
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
44
#
55
# ORACLE DOCKERFILES PROJECT
66
# --------------------------
7-
# This is the Dockerfile for Oracle OpenJDK 23 on Oracle Linux 9
7+
# This is the Dockerfile for Oracle OpenJDK 24 on Oracle Linux 9
88
#
99
# REQUIRED FILES TO BUILD THIS IMAGE
1010
# ----------------------------------
1111
#
12-
# (1) openjdk-23.xx_linux-x64_bin.tar.gz
13-
# Downloaded from https://jdk.java.net/23/
12+
# (1) openjdk-24.xx_linux-x64_bin.tar.gz
13+
# Downloaded from https://jdk.java.net/24/
1414
#
1515
# HOW TO BUILD THIS IMAGE
1616
# -----------------------
1717
# Run:
18-
# $ docker build --file Dockerfile.ol9 --tag oracle/openjdk:23 .
18+
# $ docker build --file Dockerfile.ol9 --tag oracle/openjdk:24 .
1919
#
2020
# This command is already scripted in build.sh so you can alternatively run
2121
# $ bash build.sh
@@ -25,8 +25,8 @@ FROM oraclelinux:9
2525

2626
LABEL maintainer="Aurelio Garcia-Ribeyro <[email protected]>"
2727

28-
ENV JAVA_URL=https://download.java.net/java/GA/jdk23.0.2/6da2a6609d6e406f85c491fcb119101b/7/GPL \
29-
JAVA_HOME=/usr/java/jdk-23 \
28+
ENV JAVA_URL=https://download.java.net/java/GA/jdk24/1f9ff9062db4449d8ca828c504ffae90/36/GPL \
29+
JAVA_HOME=/usr/java/jdk-24 \
3030
LANG=en_US.UTF-8
3131

3232
# If you need the Java Version you can read it from the release file with
@@ -49,7 +49,7 @@ RUN set -eux; \
4949
if [ "$ARCH" = "x86_64" ]; \
5050
then ARCH="x64"; \
5151
fi && \
52-
JAVA_PKG="$JAVA_URL"/openjdk-23.0.2_linux-"${ARCH}"_bin.tar.gz ; \
52+
JAVA_PKG="$JAVA_URL"/openjdk-24_linux-"${ARCH}"_bin.tar.gz ; \
5353
JAVA_SHA256="$(curl "$JAVA_PKG".sha256)" ; \
5454
curl --output /tmp/jdk.tgz "$JAVA_PKG" && \
5555
echo "$JAVA_SHA256" */tmp/jdk.tgz | sha256sum -c -; \

OracleOpenJDK/24/build.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
3+
# Copyright (c) 2023, 2025 Oracle and/or its affiliates.
4+
#
5+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
6+
7+
echo "Building OpenJDK 24 on Oracle Linux 9"
8+
docker build --file Dockerfile.ol9 --tag oracle/openjdk:24-ol9 .

OracleOpenJDK/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ This repository contains sample container configurations to facilitate installat
66

77
Navigate to the folder containing the `Dockerfile` and run `docker build`, tagging the image with the version number:
88

9-
e.g. for OpenJDK 23 run
9+
e.g. for OpenJDK 24 run
1010

1111
```bash
12-
cd ../OracleOpenJDK/23
13-
docker build --file Dockerfile.ol9 --tag oracle/openjdk:23 .
12+
cd ../OracleOpenJDK/24
13+
docker build --file Dockerfile.ol9 --tag oracle/openjdk:24 .
1414
```
1515

1616
This command is already scripted in `build.sh` so you can alternatively run:
@@ -21,7 +21,7 @@ bash build.sh
2121

2222
### Parent image OS version
2323

24-
The Oracle Java images for OpenJDK 23 uses `oraclelinux:9` as the default parent image.
24+
The Oracle Java images for OpenJDK 24 uses `oraclelinux:9` as the default parent image.
2525

2626
## License
2727

0 commit comments

Comments
 (0)