You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: eclipse-temurin/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -442,7 +442,7 @@ Yes, it's possible for all image flavors except for Windows-based images. The fo
442
442
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:
443
443
444
444
```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
446
446
```
447
447
448
448
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
455
455
456
456
# How to use this Image
457
457
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:
459
459
460
460
```dockerfile
461
-
FROM eclipse-temurin:21
461
+
FROM eclipse-temurin:25
462
462
RUN mkdir /opt/app
463
463
COPY japp.jar /opt/app
464
464
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
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:
0 commit comments