Skip to content

[#8774] Gravitino and IRC base image replacements#8822

Merged
jerryshao merged 4 commits intoapache:mainfrom
danhuawang:issue_8774
Oct 17, 2025
Merged

[#8774] Gravitino and IRC base image replacements#8822
jerryshao merged 4 commits intoapache:mainfrom
danhuawang:issue_8774

Conversation

@danhuawang
Copy link
Contributor

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

@diqiu50 diqiu50 closed this Oct 17, 2025
@diqiu50 diqiu50 reopened this Oct 17, 2025
@jerryshao jerryshao merged commit 4f287b4 into apache:main Oct 17, 2025
28 checks passed
@mchades
Copy link
Contributor

mchades commented Nov 12, 2025

@danhuawang Could you please create a PR to cherry-pick this commit to the branch-1.0?

mchades pushed a commit to mchades/gravitino that referenced this pull request Nov 13, 2025
### 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: apache#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 <jerryshao@datastrato.com>
(cherry picked from commit 4f287b4)
mchades added a commit that referenced this pull request Nov 13, 2025
…9098)

### What changes were proposed in this pull request?

- cherry-pick #8822 
- update change log

### Why are the changes needed?

Fix: #8774 

### Does this PR introduce _any_ user-facing change?

no

### How was this patch tested?

CI pass

---------

Co-authored-by: Danhua Wang <danhua@datastrato.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement] The openjdk base image is officially deprecated and all users are recommended to use suitable replacements

4 participants