From 42d6b3498e111a1eb21dcd268a9a9a84fe7df774 Mon Sep 17 00:00:00 2001 From: JonasG Date: Sat, 17 Feb 2024 09:00:39 +0100 Subject: [PATCH] build: update to java 17 Getting ready for the transition to Spring Boot 3, which mandates a minimum of Java 17. --- .github/workflows/gradle.yml | 2 +- docker/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 17af1beb..f4954b3b 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -31,7 +31,7 @@ jobs: - name: Set up JDK 8 uses: actions/setup-java@v3 with: - java-version: 8 + java-version: 17 distribution: temurin - name: Build with Gradle run: ./gradlew build diff --git a/docker/Dockerfile b/docker/Dockerfile index cdaeebdb..133bbc8c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -16,7 +16,7 @@ # specific language governing permissions and limitations # under the License. # -FROM openjdk:8-jre +FROM eclipse-temurin:17.0.10_7-jre-jammy ARG BUILD_DATE ARG VCS_REF