From 13720b7c38abc68e52f9f27fe4a53a1c82660b9c Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Mon, 11 Mar 2024 15:18:58 -0700 Subject: [PATCH] Run update.sh --- eclipse-temurin/README.md | 12 ++++++------ elixir/README.md | 18 +++++++++--------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/eclipse-temurin/README.md b/eclipse-temurin/README.md index 339ec691c..24b256508 100644 --- a/eclipse-temurin/README.md +++ b/eclipse-temurin/README.md @@ -218,17 +218,17 @@ JRE images are available for all versions of Eclipse Temurin but it is recommend Yes! Add your certificates to `/certificates` inside the container (e.g. by using a volume) and set the environment variable `USE_SYSTEM_CA_CERTS` on the container to any value. With Docker CLI this might look like this: ```console -$ docker run -v $(pwd)/certs:/certificates/ -e USE_SYSTEM_CA_CERTS=1 eclipse-temurin:11 +$ docker run -v $(pwd)/certs:/certificates/ -e USE_SYSTEM_CA_CERTS=1 eclipse-temurin:21 ``` The certificates would get added to the system CA store, which would in turn be converted to Java's truststore. The format of the certificates depends on what the OS of the base image used expects, but PEM format with a `.crt` file extension is a good bet. **Please note**: this feature is currently not available for Windows-based images. # How to use this Image -To run a pre-built jar file with the latest OpenJDK 11, use the following Dockerfile: +To run a pre-built jar file with the latest OpenJDK 21, use the following Dockerfile: ```dockerfile -FROM eclipse-temurin:11 +FROM eclipse-temurin:21 RUN mkdir /opt/app COPY japp.jar /opt/app CMD ["java", "-jar", "/opt/app/japp.jar"] @@ -249,7 +249,7 @@ If you are using a distribution that we don't provide an image for you can copy # Example FROM ENV JAVA_HOME=/opt/java/openjdk -COPY --from=eclipse-temurin:11 $JAVA_HOME $JAVA_HOME +COPY --from=eclipse-temurin:21 $JAVA_HOME $JAVA_HOME ENV PATH="${JAVA_HOME}/bin:${PATH}" ``` @@ -259,7 +259,7 @@ On OpenJDK 11+, a JRE can be generated using `jlink`, see the following Dockerfi ```dockerfile # Example of custom Java runtime using jlink in a multi-stage container build -FROM eclipse-temurin:11 as jre-build +FROM eclipse-temurin:21 as jre-build # Create a custom Java runtime RUN $JAVA_HOME/bin/jlink \ @@ -285,7 +285,7 @@ CMD ["java", "-jar", "/opt/app/japp.jar"] 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: ```dockerfile -FROM eclipse-temurin:11.0.12_7-jdk +FROM eclipse-temurin:21.0.2_13-jdk CMD ["java", "-jar", "/opt/app/japp.jar"] ``` diff --git a/elixir/README.md b/elixir/README.md index 5ab7bd9b5..5ca7cbfc8 100644 --- a/elixir/README.md +++ b/elixir/README.md @@ -24,15 +24,15 @@ WARNING: # Supported tags and respective `Dockerfile` links -- [`1.16.1`, `1.16`, `latest`, `1.16.1-otp-26`, `1.16-otp-26`, `otp-26`](https://github.com/erlef/docker-elixir/blob/5163188632c324ae8606ab7be544f139f2a7458c/1.16/Dockerfile) -- [`1.16.1-slim`, `1.16-slim`, `slim`, `1.16.1-otp-26-slim`, `1.16-otp-26-slim`, `otp-26-slim`](https://github.com/erlef/docker-elixir/blob/5163188632c324ae8606ab7be544f139f2a7458c/1.16/slim/Dockerfile) -- [`1.16.1-alpine`, `1.16-alpine`, `alpine`, `1.16.1-otp-26-alpine`, `1.16-otp-26-alpine`, `otp-26-alpine`](https://github.com/erlef/docker-elixir/blob/5163188632c324ae8606ab7be544f139f2a7458c/1.16/alpine/Dockerfile) -- [`1.16.1-otp-24`, `1.16-otp-24`, `otp-24`](https://github.com/erlef/docker-elixir/blob/5163188632c324ae8606ab7be544f139f2a7458c/1.16/otp-24/Dockerfile) -- [`1.16.1-otp-24-alpine`, `1.16-otp-24-alpine`, `otp-24-alpine`](https://github.com/erlef/docker-elixir/blob/5163188632c324ae8606ab7be544f139f2a7458c/1.16/otp-24-alpine/Dockerfile) -- [`1.16.1-otp-24-slim`, `1.16-otp-24-slim`, `otp-24-slim`](https://github.com/erlef/docker-elixir/blob/5163188632c324ae8606ab7be544f139f2a7458c/1.16/otp-24-slim/Dockerfile) -- [`1.16.1-otp-25`, `1.16-otp-25`, `otp-25`](https://github.com/erlef/docker-elixir/blob/5163188632c324ae8606ab7be544f139f2a7458c/1.16/otp-25/Dockerfile) -- [`1.16.1-otp-25-alpine`, `1.16-otp-25-alpine`, `otp-25-alpine`](https://github.com/erlef/docker-elixir/blob/5163188632c324ae8606ab7be544f139f2a7458c/1.16/otp-25-alpine/Dockerfile) -- [`1.16.1-otp-25-slim`, `1.16-otp-25-slim`, `otp-25-slim`](https://github.com/erlef/docker-elixir/blob/5163188632c324ae8606ab7be544f139f2a7458c/1.16/otp-25-slim/Dockerfile) +- [`1.16.2`, `1.16`, `latest`, `1.16.2-otp-26`, `1.16-otp-26`, `otp-26`](https://github.com/erlef/docker-elixir/blob/fd41114df3706382657801a6b0679ccfb4472296/1.16/Dockerfile) +- [`1.16.2-slim`, `1.16-slim`, `slim`, `1.16.2-otp-26-slim`, `1.16-otp-26-slim`, `otp-26-slim`](https://github.com/erlef/docker-elixir/blob/fd41114df3706382657801a6b0679ccfb4472296/1.16/slim/Dockerfile) +- [`1.16.2-alpine`, `1.16-alpine`, `alpine`, `1.16.2-otp-26-alpine`, `1.16-otp-26-alpine`, `otp-26-alpine`](https://github.com/erlef/docker-elixir/blob/fd41114df3706382657801a6b0679ccfb4472296/1.16/alpine/Dockerfile) +- [`1.16.2-otp-24`, `1.16-otp-24`, `otp-24`](https://github.com/erlef/docker-elixir/blob/fd41114df3706382657801a6b0679ccfb4472296/1.16/otp-24/Dockerfile) +- [`1.16.2-otp-24-alpine`, `1.16-otp-24-alpine`, `otp-24-alpine`](https://github.com/erlef/docker-elixir/blob/fd41114df3706382657801a6b0679ccfb4472296/1.16/otp-24-alpine/Dockerfile) +- [`1.16.2-otp-24-slim`, `1.16-otp-24-slim`, `otp-24-slim`](https://github.com/erlef/docker-elixir/blob/fd41114df3706382657801a6b0679ccfb4472296/1.16/otp-24-slim/Dockerfile) +- [`1.16.2-otp-25`, `1.16-otp-25`, `otp-25`](https://github.com/erlef/docker-elixir/blob/fd41114df3706382657801a6b0679ccfb4472296/1.16/otp-25/Dockerfile) +- [`1.16.2-otp-25-alpine`, `1.16-otp-25-alpine`, `otp-25-alpine`](https://github.com/erlef/docker-elixir/blob/fd41114df3706382657801a6b0679ccfb4472296/1.16/otp-25-alpine/Dockerfile) +- [`1.16.2-otp-25-slim`, `1.16-otp-25-slim`, `otp-25-slim`](https://github.com/erlef/docker-elixir/blob/fd41114df3706382657801a6b0679ccfb4472296/1.16/otp-25-slim/Dockerfile) - [`1.15.7`, `1.15`, `1.15.7-otp-26`, `1.15-otp-26`](https://github.com/erlef/docker-elixir/blob/8bb39c071ac936d584b390cd50edf5c8c27ef0dd/1.15/Dockerfile) - [`1.15.7-slim`, `1.15-slim`, `1.15.7-otp-26-slim`, `1.15-otp-26-slim`](https://github.com/erlef/docker-elixir/blob/8bb39c071ac936d584b390cd50edf5c8c27ef0dd/1.15/slim/Dockerfile) - [`1.15.7-alpine`, `1.15-alpine`, `1.15.7-otp-26-alpine`, `1.15-otp-26-alpine`](https://github.com/erlef/docker-elixir/blob/8bb39c071ac936d584b390cd50edf5c8c27ef0dd/1.15/alpine/Dockerfile)