diff --git a/.github/docker/Dockerfile b/.github/docker/Dockerfile index 96dbbcf627..3b363f384a 100644 --- a/.github/docker/Dockerfile +++ b/.github/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:21-jdk +FROM openjdk:22-jdk-slim RUN apt-get update && \ apt-get install --no-install-recommends --yes \ diff --git a/.github/workflows/build-test-docker.yml b/.github/workflows/build-test-docker.yml index 8731b255b8..3fe693f62d 100644 --- a/.github/workflows/build-test-docker.yml +++ b/.github/workflows/build-test-docker.yml @@ -13,7 +13,7 @@ on: env: REGISTRY: ghcr.io - IMAGE_NAME: ci-debian-jdk-21 + IMAGE_NAME: ci-debian-jdk-22 jobs: build-and-push-image: diff --git a/build.sbt b/build.sbt index 7cbd37dcac..0f04fe823d 100644 --- a/build.sbt +++ b/build.sbt @@ -788,6 +788,7 @@ lazy val prismAgentServer = project Docker / dockerUsername := Some("input-output-hk"), Docker / dockerRepository := Some("ghcr.io"), dockerExposedPorts := Seq(8080, 8085, 8090), + // Official docker image for openjdk 21 with curl and bash dockerBaseImage := "openjdk:21-jdk", buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion), buildInfoPackage := "io.iohk.atala.agent.server.buildinfo",