From fe125928c763ce378156c91d26111cfd83ac5fa3 Mon Sep 17 00:00:00 2001 From: Luke Cwik Date: Thu, 9 Feb 2023 10:29:58 -0800 Subject: [PATCH] Swap Java SDK container to use eclipse-temurin as the base instead of OpenJDK As discussed on https://lists.apache.org/thread/h4m02o0br5g5t3o3m8r4lkl431vvzhsg Fixes #25371 --- CHANGES.md | 4 ++++ sdks/java/container/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index ba24711f841b..9dd7bdb959ff 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -54,6 +54,10 @@ ## Highlights +* Java SDK containers migrated to [Eclipse Temurin](https://hub.docker.com/_/eclipse-temurin) + as a base. This change migrates away from the deprecated [OpenJDK](https://hub.docker.com/_/openjdk) + container. Eclipse Temurin is currently based upon Ubuntu 22.04 while the OpenJDK + container was based upon Debian 11. * RunInference PTransform will accept model paths as SideInputs in Python SDK. ([#24042](https://github.com/apache/beam/issues/24042)) ## I/Os diff --git a/sdks/java/container/Dockerfile b/sdks/java/container/Dockerfile index 5f25c1e65a9f..1ee943a73b09 100644 --- a/sdks/java/container/Dockerfile +++ b/sdks/java/container/Dockerfile @@ -16,7 +16,7 @@ # limitations under the License. ############################################################################### ARG java_version -FROM openjdk:${java_version}-bullseye +FROM eclipse-temurin:${java_version} MAINTAINER "Apache Beam " ARG pull_licenses