Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use eclipse-temurin:8-jdk-focal as default base image #4288

Closed
wants to merge 1 commit into from

Conversation

pan3793
Copy link
Member

@pan3793 pan3793 commented Feb 9, 2023

Why are the changes needed?

eclipse-temurin is the successor for openjdk, see apache/spark#37705

"The core change is: the OS of base image changes debian-bullseye to ubuntu-focal (based on debian bullseye)."

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before make a pull request


FROM maven:3.6-jdk-8 as builder
FROM eclipse-temurin:8-jdk-focal as builder
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's hard to maintain the maven version in multi places, so it's better to use build/mvn to auto-download the expected version.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, and we should cache build/apache-maven* properly in CI jobs, to prevent repeatedly downloading maven.

@pan3793 pan3793 self-assigned this Feb 10, 2023
@pan3793 pan3793 added this to the v1.7.0 milestone Feb 10, 2023
@pan3793
Copy link
Member Author

pan3793 commented Feb 10, 2023

Thanks, merged to master

@pan3793 pan3793 closed this in 5318585 Feb 10, 2023
@pan3793 pan3793 deleted the image branch February 10, 2023 08:42
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.

3 participants