Skip to content

Commit

Permalink
upgrade to java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
FeliTam committed Dec 10, 2024
1 parent ef2e3ee commit 0928318
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# renovate: datasource=github-releases depName=microsoft/ApplicationInsights-Java
ARG APP_INSIGHTS_AGENT_VERSION=3.6.2
FROM hmctspublic.azurecr.io/base/java:17-distroless
FROM hmctspublic.azurecr.io/base/java:21-distroless
LABEL maintainer="https://github.com/hmcts/probate-back-office"

COPY build/libs/back-office.jar /opt/app/
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ application {

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
languageVersion = JavaLanguageVersion.of(21)
}
}

Expand Down

0 comments on commit 0928318

Please sign in to comment.