Switch docker image to temurin
Change-Id: I4ee239ee24c1c6e150b0390ca35ffed8e6e866a9
diff --git a/Changes b/Changes
index ab9d68f..a8d2d27 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+# version 0.74.1-SNAPSHOT
+
+- Switch Docker image to temurin (diewald).
+
# version 0.74
- Remove corpusQuery param in the statistics web-service (close #758).
diff --git a/Dockerfile b/Dockerfile
index 2b138d1..ae5beb1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,5 @@
# Use alpine linux as base image
-FROM openjdk:19-alpine AS builder
+FROM eclipse-temurin:22-jdk-alpine AS builder
# Copy repository respecting .dockerignore
COPY . /kustvakt
@@ -94,7 +94,7 @@
CMD ["sh"]
-FROM openjdk:19-alpine AS kustvakt-lite
+FROM eclipse-temurin:22-jre-alpine AS kustvakt-lite
RUN addgroup -S korap && \
adduser -S kustvakt -G korap && \
@@ -115,7 +115,7 @@
CMD [ "Kustvakt-lite.jar" ]
-FROM openjdk:19-alpine AS kustvakt-full
+FROM eclipse-temurin:22-jre-alpine AS kustvakt-full
RUN addgroup -S korap && \
adduser -S kustvakt -G korap && \