From 6e844560913c753fcc5b7e648b8d51b52821cd4d 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 | 4 ++-- docker/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 17af1beb..c0820895 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -28,10 +28,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up JDK 8 + - name: Set up JDK 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..7c927aac 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-jre-jammy ARG BUILD_DATE ARG VCS_REF