Skip to content

Commit

Permalink
Make image compatible with aarch64 (closes #306)
Browse files Browse the repository at this point in the history
  • Loading branch information
keeganwitt committed Nov 19, 2024
1 parent e1ea919 commit be1e680
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jdk-lts-and-current-corretto/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

Expand Down

0 comments on commit be1e680

Please sign in to comment.