[AURON #1417] Expand build support to modern Linux distributions.#1418
[AURON #1417] Expand build support to modern Linux distributions.#1418cxzl25 merged 7 commits intoapache:masterfrom
Conversation
|
@richox @cxzl25 Could you please help review this PR? Thanks a lot! Since These three images are our most commonly used environments and have been verified to successfully build Auron artifacts as expected. More background details and validation results have been added to the PR description. |
dev/docker-build/debian11/Dockerfile
Outdated
| # --------------------------------------------------------------------- | ||
| RUN curl https://sh.rustup.rs -sSf -o rustup-init && \ | ||
| chmod +x rustup-init && \ | ||
| ./rustup-init -y --default-toolchain nightly-2023-08-01-x86_64-unknown-linux-gnu && \ |
There was a problem hiding this comment.
Thank you for the explanation! I will try upgrading the plugin to the 2025-05-09 version.
|
I had raised #1252 about this earlier, though it didn’t get traction at the time. |
merrily01
left a comment
There was a problem hiding this comment.
Minor suggestion: could you update the commit message from [AURON#1417] to [AURON #1417] (add a space) so that the issue link works correctly? @slfan1989
|
|
@richox @cxzl25 @zuston @merrily01 Thank you all for helping with the review! We are currently testing the compatibility of CentOS 7, Ubuntu 24.04, Debian 11, and Rocky Linux 8 with the nightly-2025-05-09 build to ensure that the compilation process runs smoothly across all distributions. |
@richox @merrily01 @cxzl25 @zuston The verification has been completed, confirming that the |
Thanks for the suggestion — I’ve made the updates. |
|
@cxzl25 Thank you very much for helping review the code! |
Which issue does this PR close?
Closes #1417.
Rationale for this change
[AURON #1417] Expand build support to modern Linux distributions.
Since
CentOS 7has reached End of Life (EOL), it is no longer suitable for use as our standard build image.To ensure long-term maintainability, security, and compatibility of the build environment, we have decided to migrate to actively maintained distributions.
The following images are now supported for project builds:
Rocky Linux 8– a stable, community-driven successor to CentOS 8, fully binary-compatible with RHEL 8;Ubuntu 24.04 LTS– provides up-to-date components and long-term support, ideal for ongoing maintenance;Debian 11 (Bullseye)– offers high stability and is widely adopted in CI/CD environments, but only supports compilation starting from JDK 11.This transition ensures continuous security updates, improved ecosystem compatibility, and a more future-proof build foundation.
What changes are included in this PR?
Debian 11 only provides official support starting from JDK 11, as JDK 8 dependencies have been removed from its repositories. While it’s still possible to install JDK 8 manually, given the industry’s shift toward JDK 17 and beyond, I think it’s reasonable to keep things as they are.
Are there any user-facing changes?
No.
How was this patch tested?
Manually execute the Docker build script.