Skip to content

Commit

Permalink
Merge pull request #42 from openml/bugfix/dockerfile-for-arm
Browse files Browse the repository at this point in the history
Dockerfile suitable for arm and amd releases
  • Loading branch information
josvandervelde authored Nov 15, 2024
2 parents 805997f + 72f62f1 commit bd92a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"]
ENTRYPOINT ["java", "-jar", "/usr/local/lib/evaluation-engine.jar"]

0 comments on commit bd92a81

Please sign in to comment.