diff --git a/examples/java/json-logging-ecs/Dockerfile b/examples/java/json-logging-ecs/Dockerfile index 7098697..eda9dd2 100644 --- a/examples/java/json-logging-ecs/Dockerfile +++ b/examples/java/json-logging-ecs/Dockerfile @@ -1,4 +1,4 @@ -FROM eclipse-temurin:21-jdk AS builder +FROM eclipse-temurin:21.0.5_11-jdk AS builder WORKDIR /usr/src/app/ @@ -9,7 +9,7 @@ COPY json-logging-ecs/logback-spring.xml ./src/main/resources/logback-spring.xml RUN sed -i '//a co.elastic.logginglogback-ecs-encoder1.6.0' pom.xml RUN --mount=type=cache,target=/root/.m2 ./mvnw install -DskipTests -FROM eclipse-temurin:21-jre +FROM eclipse-temurin:21.0.5_11-jre WORKDIR /usr/src/app/ diff --git a/examples/java/json-logging-logback/Dockerfile b/examples/java/json-logging-logback/Dockerfile index 85a3d94..c25fe5a 100644 --- a/examples/java/json-logging-logback/Dockerfile +++ b/examples/java/json-logging-logback/Dockerfile @@ -1,4 +1,4 @@ -FROM eclipse-temurin:21-jdk AS builder +FROM eclipse-temurin:21.0.5_11-jdk AS builder WORKDIR /usr/src/app/ @@ -8,7 +8,7 @@ COPY ./src ./src COPY json-logging-logback/logback-spring.xml ./src/main/resources/logback-spring.xml RUN --mount=type=cache,target=/root/.m2 ./mvnw install -DskipTests -FROM eclipse-temurin:21-jre +FROM eclipse-temurin:21.0.5_11-jre WORKDIR /usr/src/app/ diff --git a/examples/java/json-logging-otlp/Dockerfile b/examples/java/json-logging-otlp/Dockerfile index b9e1bfd..b52ad78 100644 --- a/examples/java/json-logging-otlp/Dockerfile +++ b/examples/java/json-logging-otlp/Dockerfile @@ -1,4 +1,4 @@ -FROM eclipse-temurin:21-jdk AS builder +FROM eclipse-temurin:21.0.5_11-jdk AS builder WORKDIR /usr/src/app/ @@ -8,7 +8,7 @@ COPY ./src ./src COPY json-logging-otlp/logback-spring.xml ./src/main/resources/logback-spring.xml RUN --mount=type=cache,target=/root/.m2 ./mvnw install -DskipTests -FROM eclipse-temurin:21-jre +FROM eclipse-temurin:21.0.5_11-jre WORKDIR /usr/src/app/