Skip to content

Commit

Permalink
Merge pull request #490 from Health-Education-England/chore/bumpDocke…
Browse files Browse the repository at this point in the history
…rJavaVersion_TIS21-5226

chore: upgrade to Java 21 docker image
  • Loading branch information
JosephKelly authored Apr 24, 2024
2 parents 21b2728 + d49b885 commit f4caab6
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 f4caab6

Please sign in to comment.