From 1f92fbd6365b5e85efc1fb701da38a09fbd63c72 Mon Sep 17 00:00:00 2001 From: Patrik Nordwall Date: Tue, 19 Dec 2023 09:11:52 +0100 Subject: [PATCH] doc: Update JDK base image (#1243) --- .../paradox/kubernetes-deployment/building-using-sbt.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/src/main/paradox/kubernetes-deployment/building-using-sbt.md b/docs/src/main/paradox/kubernetes-deployment/building-using-sbt.md index 9f5148060..dac844ce1 100644 --- a/docs/src/main/paradox/kubernetes-deployment/building-using-sbt.md +++ b/docs/src/main/paradox/kubernetes-deployment/building-using-sbt.md @@ -28,15 +28,14 @@ Compile / mainClass := Some("akka.sample.cluster.kubernetes.DemoApp") ### Selecting a JDK -By default, sbt native packager uses the `openjdk` latest Docker image from DockerHub. At time of writing, this will give you OpenJDK 11, which is not certified by Lightbend, and it also gives you the Debian OpenJDK build, -which is not certified by Lightbend either. For a full list of Lightbend certified JDK builds and versions, see [here](https://developer.lightbend.com/docs/introduction/getting-help/java-versions.html). - -We recommend using the AdoptOpenJDK base image: +We recommend using the Eclipse Temurin 17 base image: ```scala -dockerBaseImage := "adoptopenjdk:11-jre-hotspot" +dockerBaseImage := "docker.io/library/eclipse-temurin:17-jre" ``` +For a full list of Lightbend certified JDK builds and versions, see [here](https://doc.akka.io/docs/akka-dependencies/current/java-versions.html). + ### Git hash based version numbers This step is optional, but we recommend basing the version number of your application on the current git hash, since this ensures that you will always be able to map what is deployed to production back to the exact version of your application being used.