diff --git a/evaluator/images/java/Dockerfile b/evaluator/images/java/Dockerfile index 9250ef00..2c95e7dc 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-17-jdk \ + openjdk-21-jdk \ python3-pip \ wget && \ rm -rf /var/lib/apt/lists/* -RUN wget https://dlcdn.apache.org/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.tar.gz -P /tmp +RUN wget https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz -P /tmp RUN tar xf /tmp/apache-maven-*-bin.tar.gz -C /opt -RUN ln -s /opt/apache-maven-3.9.4/ /opt/maven +RUN ln -s /opt/apache-maven-3.9.9/ /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\