From 3304fd879b1977df6ad27fe2d539c664329a10c3 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 4 Oct 2023 18:00:34 +0000 Subject: [PATCH 1/2] fix(deps): update dependency org.springframework.boot:spring-boot-starter-parent to v3 --- quickstart/java/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstart/java/pom.xml b/quickstart/java/pom.xml index 47b527bc50..da743692bd 100644 --- a/quickstart/java/pom.xml +++ b/quickstart/java/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 2.7.16 + 3.1.4 com.example From 736746db7f386f8e63c9e9436a5ecb614c434550 Mon Sep 17 00:00:00 2001 From: minherz Date: Mon, 9 Oct 2023 14:40:39 -0700 Subject: [PATCH 2/2] chore: update base images for quickstart java --- quickstart/java/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickstart/java/Dockerfile b/quickstart/java/Dockerfile index b801aa531b..b920fd89d5 100644 --- a/quickstart/java/Dockerfile +++ b/quickstart/java/Dockerfile @@ -1,6 +1,6 @@ # Use the official maven/Java 8 image to create a build artifact. # https://hub.docker.com/_/maven -FROM maven:3.5-jdk-8-alpine as builder +FROM maven:3.8.2-eclipse-temurin-8 as builder # Copy local code to the container image. WORKDIR /app @@ -14,7 +14,7 @@ RUN mvn package -DskipTests # It's important to use OpenJDK 8u191 or above that has container support enabled. # https://hub.docker.com/r/adoptopenjdk/openjdk8 # https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds -FROM adoptopenjdk/openjdk8:jdk8u202-b08-alpine-slim +FROM eclipse-temurin:18.0.1_10-jre-alpine # Copy the jar to the production image from the builder stage. COPY --from=builder /app/target/helloworld-*.jar /helloworld.jar