Skip to content

Commit

Permalink
doc: Update JDK base image (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
patriknw authored Dec 19, 2023
1 parent 6a49c2c commit 1f92fbd
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1f92fbd

Please sign in to comment.