Switch docker image to temurin
Change-Id: I4ee239ee24c1c6e150b0390ca35ffed8e6e866a9
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 && \