From b01c14f9dc4404411763dd95add4a558d19a1dcc Mon Sep 17 00:00:00 2001 From: Jan Gaura Date: Wed, 16 Oct 2024 19:35:06 +0200 Subject: [PATCH] Revert "Add support for Java 21 (#527)" --- evaluator/images/java/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/evaluator/images/java/Dockerfile b/evaluator/images/java/Dockerfile index 2c95e7dc..9250ef00 100644 --- a/evaluator/images/java/Dockerfile +++ b/evaluator/images/java/Dockerfile @@ -2,13 +2,13 @@ FROM kelvin/base RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y \ - openjdk-21-jdk \ + openjdk-17-jdk \ python3-pip \ wget && \ rm -rf /var/lib/apt/lists/* -RUN wget https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz -P /tmp +RUN wget https://dlcdn.apache.org/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.tar.gz -P /tmp RUN tar xf /tmp/apache-maven-*-bin.tar.gz -C /opt -RUN ln -s /opt/apache-maven-3.9.9/ /opt/maven +RUN ln -s /opt/apache-maven-3.9.4/ /opt/maven RUN echo 'export JAVA_HOME=$(dirname $(dirname $(readlink -f $(which java))))\n\ export M2_HOME=/opt/maven\n\ export MAVEN_HOME=/opt/maven\n\