From 8e6176cf907ae250e57ce21d1c19e43bff70d6c3 Mon Sep 17 00:00:00 2001 From: "Siyao (Jane) He" Date: Tue, 24 Dec 2024 15:06:55 +0800 Subject: [PATCH] Update ubuntu2204_java_driver_testing.docker --- docker/testing/ubuntu2204_java_driver_testing.docker | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/testing/ubuntu2204_java_driver_testing.docker b/docker/testing/ubuntu2204_java_driver_testing.docker index e9057c4..1bbc5e0 100644 --- a/docker/testing/ubuntu2204_java_driver_testing.docker +++ b/docker/testing/ubuntu2204_java_driver_testing.docker @@ -38,12 +38,14 @@ RUN export JABBA_HOME="$HOME/.jabba" && \ RUN . /home/docker/.jabba/jabba.sh && jabba install openjdk@1.8.0-292 RUN . /home/docker/.jabba/jabba.sh && jabba install openjdk@1.11.0-9 RUN . /home/docker/.jabba/jabba.sh && jabba install openjdk@17 +RUN . /home/docker/.jabba/jabba.sh && jabba install openjdk@1.21.0 ENV PATH="/home/docker/.jabba/bin:/home/docker/.local/bin:$PATH" RUN echo "export JAVA8_HOME=$(jabba which openjdk@1.8.0-292)" >> ~/env.txt && \ echo "export JAVA11_HOME=$(jabba which openjdk@1.11.0-9)" >> ~/env.txt && \ echo "export JAVA17_HOME=$(jabba which openjdk@17)" >> ~/env.txt && \ + echo "export JAVA21_HOME=$(jabba which openjdk@1.21.0)" >> ~/env.txt && \ echo "export JAVA_HOME=$(jabba which openjdk@1.8.0-292)" >> ~/env.txt && \ echo ". $HOME/.jabba/jabba.sh" >> ~/env.txt && \ echo "jabba use openjdk@1.8.0-292" >> ~/env.txt