diff --git a/Dockerfile b/Dockerfile index 7c9974a..23909fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Use Eclipse Temurin's JRE Alpine as base image (smaller than openjdk:slim) -FROM eclipse-temurin:17-jre-alpine +FROM eclipse-temurin:21-jre-alpine # Add curl for healthchecks and bash for scripts RUN apk add --no-cache curl bash diff --git a/Dockerfile.example b/Dockerfile.example index de4f7df..63f3335 100644 --- a/Dockerfile.example +++ b/Dockerfile.example @@ -1,4 +1,4 @@ -FROM eclipse-temurin:17-jdk-alpine as build +FROM eclipse-temurin:21-jdk-alpine as build WORKDIR /workspace/app # Copy maven executable to the image @@ -19,7 +19,7 @@ RUN ./mvnw package -DskipTests RUN mkdir -p target/dependency && (cd target/dependency; jar -xf ../*.jar) # Runtime stage -FROM eclipse-temurin:17-jre-alpine +FROM eclipse-temurin:21-jre-alpine VOLUME /tmp VOLUME /logs