Skip to content

Commit bd393b6

Browse files
Run update.sh
1 parent 2779584 commit bd393b6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

eclipse-temurin/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ Yes, it's possible for all image flavors except for Windows-based images. The fo
442442
You need to put your CA certificates into `/certificates` directory inside the container (e.g. by using a volume) and opt-in into CA certificate processing by setting the environment variable `USE_SYSTEM_CA_CERTS` on the container to any value (if you are overriding the entrypoint script, please make sure you call `/__cacert_entrypoint.sh` to enable the processing). Using Docker CLI this might look like this:
443443

444444
```console
445-
$ docker run -v $(pwd)/certs:/certificates/ -e USE_SYSTEM_CA_CERTS=1 eclipse-temurin:21
445+
$ docker run -v $(pwd)/certs:/certificates/ -e USE_SYSTEM_CA_CERTS=1 eclipse-temurin:25
446446
```
447447

448448
When run like this, your certificates will get added to both the JVM truststore and to the system CA store (e.g. for use by `curl` and other CLI tools). However, if you are running your containers in a restricted-by-default environment (such as Red Hat OpenShift), there will be some small differences:
@@ -455,10 +455,10 @@ While this feature has been tested in multiple scenarios, there is always a chan
455455

456456
# How to use this Image
457457

458-
To run a pre-built jar file with the latest OpenJDK 21, use the following Dockerfile:
458+
To run a pre-built jar file with the latest OpenJDK 25, use the following Dockerfile:
459459

460460
```dockerfile
461-
FROM eclipse-temurin:21
461+
FROM eclipse-temurin:25
462462
RUN mkdir /opt/app
463463
COPY japp.jar /opt/app
464464
CMD ["java", "-jar", "/opt/app/japp.jar"]
@@ -479,7 +479,7 @@ If you are using a distribution that we don't provide an image for you can copy
479479
# Example
480480
FROM <base image>
481481
ENV JAVA_HOME=/opt/java/openjdk
482-
COPY --from=eclipse-temurin:21 $JAVA_HOME $JAVA_HOME
482+
COPY --from=eclipse-temurin:25 $JAVA_HOME $JAVA_HOME
483483
ENV PATH="${JAVA_HOME}/bin:${PATH}"
484484
```
485485

@@ -489,7 +489,7 @@ On OpenJDK 21+, a JRE can be generated using `jlink`, see the following Dockerfi
489489

490490
```dockerfile
491491
# Example of custom Java runtime using jlink in a multi-stage container build
492-
FROM eclipse-temurin:21 as jre-build
492+
FROM eclipse-temurin:25 as jre-build
493493

494494
# Create a custom Java runtime
495495
RUN $JAVA_HOME/bin/jlink \
@@ -515,7 +515,7 @@ CMD ["java", "-jar", "/opt/app/japp.jar"]
515515
If you want to place the jar file on the host file system instead of inside the container, you can mount the host path onto the container by using the following commands:
516516

517517
```dockerfile
518-
FROM eclipse-temurin:21.0.2_13-jdk
518+
FROM eclipse-temurin:25
519519
CMD ["java", "-jar", "/opt/app/japp.jar"]
520520
```
521521

0 commit comments

Comments
 (0)