Skip to content

Commit

Permalink
Merge pull request #307 from keeganwitt/306
Browse files Browse the repository at this point in the history
Make image compatible with aarch64 (closes #306)
  • Loading branch information
keeganwitt authored Nov 19, 2024
2 parents e1ea919 + be1e680 commit 101961f
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 101961f

Please sign in to comment.