diff --git a/run/helloworld/Dockerfile b/run/helloworld/Dockerfile
index d296b09b690..0467920660a 100644
--- a/run/helloworld/Dockerfile
+++ b/run/helloworld/Dockerfile
@@ -15,7 +15,7 @@
# [START cloudrun_helloworld_dockerfile]
# Use the official maven image to create a build artifact.
# https://hub.docker.com/_/maven
-FROM maven:3-eclipse-temurin-17-alpine as builder
+FROM maven:3-eclipse-temurin-25-alpine as builder
# Copy local code to the container image.
WORKDIR /app
@@ -27,7 +27,7 @@ RUN mvn package -DskipTests
# Use Eclipse Temurin for base image.
# https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds
-FROM eclipse-temurin:17.0.16_8-jre-alpine
+FROM eclipse-temurin:25.0.1_8-jre-alpine
# Copy the jar to the production image from the builder stage.
COPY --from=builder /app/target/helloworld-*.jar /helloworld.jar
diff --git a/run/helloworld/pom.xml b/run/helloworld/pom.xml
index 70e213d033f..b72257cac0e 100644
--- a/run/helloworld/pom.xml
+++ b/run/helloworld/pom.xml
@@ -24,7 +24,7 @@ limitations under the License.
com.google.cloud.samples
shared-configuration
- 1.2.0
+ 1.2.2
@@ -41,9 +41,9 @@ limitations under the License.
UTF-8
UTF-8
- 17
- 17
- 3.2.2
+ 25
+ 25
+ 3.5.9
@@ -84,7 +84,7 @@ limitations under the License.
com.google.cloud.tools
jib-maven-plugin
- 3.4.0
+ 3.5.1
gcr.io/PROJECT_ID/helloworld
@@ -92,6 +92,11 @@ limitations under the License.
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.14
+