You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by lc...@apache.org on 2023/02/16 22:37:21 UTC
[beam] branch master updated: Swap Java SDK container to use eclipse-temurin as the base instead of OpenJDK (#25402)
This is an automated email from the ASF dual-hosted git repository.
lcwik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 684917f9bc5 Swap Java SDK container to use eclipse-temurin as the base instead of OpenJDK (#25402)
684917f9bc5 is described below
commit 684917f9bc504abfcd8242475a8c4ad36460964b
Author: Luke Cwik <lu...@gmail.com>
AuthorDate: Thu Feb 16 14:37:09 2023 -0800
Swap Java SDK container to use eclipse-temurin as the base instead of OpenJDK (#25402)
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 11db2aaf875..252fba0ca04 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))
* RunInference supports ONNX runtime in Python SDK ([#22972](https://github.com/apache/beam/issues/22972))
diff --git a/sdks/java/container/Dockerfile b/sdks/java/container/Dockerfile
index 5f25c1e65a9..1ee943a73b0 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 <de...@beam.apache.org>"
ARG pull_licenses