From be1e6807ea559c9560a1c91e0d7fe40bb66aecb2 Mon Sep 17 00:00:00 2001 From: Keegan Witt Date: Tue, 19 Nov 2024 16:00:36 -0500 Subject: [PATCH] Make image compatible with aarch64 (closes #306) --- jdk-lts-and-current-corretto/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jdk-lts-and-current-corretto/Dockerfile b/jdk-lts-and-current-corretto/Dockerfile index c979b64..35f46e3 100644 --- a/jdk-lts-and-current-corretto/Dockerfile +++ b/jdk-lts-and-current-corretto/Dockerfile @@ -1,8 +1,8 @@ FROM amazoncorretto:21-al2023-jdk -COPY --from=amazoncorretto:23-al2023-jdk /usr/lib/jvm/java-23-amazon-corretto.x86_64 /usr/lib/jvm/java-23-amazon-corretto.x86_64 -ENV JAVA_LTS_HOME=/usr/lib/jvm/java-21-amazon-corretto.x86_64 -ENV JAVA_CURRENT_HOME=/usr/lib/jvm/java-23-amazon-corretto.x86_64 +COPY --from=amazoncorretto:23-al2023-jdk /usr/lib/jvm/java-23-amazon-corretto /usr/lib/jvm/java-23-amazon-corretto +ENV JAVA_LTS_HOME=/usr/lib/jvm/java-21-amazon-corretto +ENV JAVA_CURRENT_HOME=/usr/lib/jvm/java-23-amazon-corretto CMD ["gradle"]