From 72f62f13da30d91d190578e3fc51a2be1f141bf5 Mon Sep 17 00:00:00 2001 From: Jos van der Velde Date: Fri, 15 Nov 2024 10:39:18 +0100 Subject: [PATCH] Dockerfile suitable for arm and amd releases --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 0b557fb..b9c5fcf 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM maven:3.9.7-eclipse-temurin-11-alpine AS build +FROM maven:3.9.9-amazoncorretto-11-alpine AS build COPY src /app/src COPY pom.xml /app RUN mvn -f /app/pom.xml clean package -DskipTests @@ -8,4 +8,4 @@ RUN useradd --create-home unprivileged-user USER unprivileged-user COPY --from=build /app/target/EvaluationEngine-*-jar-with-dependencies.jar /usr/local/lib/evaluation-engine.jar -ENTRYPOINT ["java", "-jar", "/usr/local/lib/evaluation-engine.jar"] \ No newline at end of file +ENTRYPOINT ["java", "-jar", "/usr/local/lib/evaluation-engine.jar"]