This is an automated email from the ASF dual-hosted git repository.

jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/main by this push:
     new 4f287b4378 [#8774] Gravitino and IRC base image replacements (#8822)
4f287b4378 is described below

commit 4f287b4378052905f0bbcc9b942e0b2056e496ee
Author: Danhua Wang <[email protected]>
AuthorDate: Fri Oct 17 18:38:28 2025 +0800

    [#8774] Gravitino and IRC base image replacements (#8822)
    
    ### What changes were proposed in this pull request?
    
    1. Replace base image from `openjdk:17-jdk-buster` to
    `eclipse-temurin:17.0.16_8-jdk-jammy`
    2. As there's no `python` command in
    `eclipse-temurin:17.0.16_8-jdk-jammy`, add install command in Dockerfile
    3. The "amazoncorretto" image use `yum`, but we used to use the ubuntu
    os, prevent to more script changes, choose the image from
    "eclipse-temurin".
    
    ### Why are the changes needed?
    
    Fix: #8774
    
    ### Does this PR introduce _any_ user-facing change?
    
    N/A
    
    ### How was this patch tested?
    
    Manually test image build from `eclipse-temurin:17.0.16_8-jdk-jammy`.
    
    Test image: datastratosandbox/gravitino:1.1.0-SNAPSHOT-60,
    datastratosandbox/iceberg-rest-server:1.1.0-SNAPSHOT-60
    
    Test OS:  Ubuntu 22 , Ubuntu 24, Ubuntu 25, CentOS 9, Debian 12
    
    ---------
    
    Co-authored-by: Jerry Shao <[email protected]>
---
 dev/docker/gravitino/Dockerfile           | 5 ++++-
 dev/docker/iceberg-rest-server/Dockerfile | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev/docker/gravitino/Dockerfile b/dev/docker/gravitino/Dockerfile
index cf10e54d43..5cb52c52d6 100644
--- a/dev/docker/gravitino/Dockerfile
+++ b/dev/docker/gravitino/Dockerfile
@@ -16,9 +16,12 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-FROM openjdk:17-jdk-buster
+FROM eclipse-temurin:17.0.16_8-jdk-jammy
 LABEL maintainer="[email protected]"
 
+RUN apt-get update && apt-get install -y \
+    python-is-python3
+
 WORKDIR /root/gravitino
 
 COPY packages/gravitino /root/gravitino
diff --git a/dev/docker/iceberg-rest-server/Dockerfile 
b/dev/docker/iceberg-rest-server/Dockerfile
index eae94c4a43..52db0c64e8 100644
--- a/dev/docker/iceberg-rest-server/Dockerfile
+++ b/dev/docker/iceberg-rest-server/Dockerfile
@@ -16,10 +16,13 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-FROM openjdk:17-jdk-buster
+FROM eclipse-temurin:17.0.16_8-jdk-jammy
 
 LABEL maintainer="[email protected]"
 
+RUN apt-get update && apt-get install -y \
+    python-is-python3
+
 WORKDIR /root/gravitino-iceberg-rest-server
 
 COPY packages/gravitino-iceberg-rest-server /root/gravitino-iceberg-rest-server

Reply via email to