Skip to content

Commit

Permalink
chore: upgrade to Java 21 docker image
Browse files Browse the repository at this point in the history
Eclipse Temurin is the distribution we build with.
It is a natural choice, having not found an OpenJDK JRE.

The project has changed to using Java 17.
It would have been possible to use 17 but Java21 appears to work.
This makes the build ready for changing the source version.

TIS21-5226: Disconnect Doctors
  • Loading branch information
JosephKelly committed Apr 24, 2024
1 parent 21b2728 commit d49b885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:11-jre-slim
FROM eclipse-temurin:21-jre-alpine
COPY application/target/revalidation-uber.jar app.jar
ENV JAVA_OPTS=${JVM_OPTS:-"-XX:+UseG1GC"}
ENTRYPOINT ["java","-jar","app.jar"]

0 comments on commit d49b885

Please sign in to comment.