morningman opened a new pull request, #70770:
URL: https://github.com/apache/doris/pull/70770

   ### Background
   
   The runtime image builder packages existing Doris releases into FE, BE and 
MS images with a selected JDK and Operator tools. Component images share one 
base, while all-in-one and doris-compose use their own Temurin bases. These 
paths currently use Ubuntu 22.04.
   
   ### What problem does this PR solve?
   
   Issue Number: None
   Related PR: None
   PR Type: Build/CI/Chore
   
   Problem Summary:
   
   Runtime image builders need the latest Ubuntu LTS and a separate UBI 9 
option. Upgrade the Ubuntu paths to 26.04 and add a UBI 9 entry point, sharing 
release verification and component packaging while keeping package installation 
separate. The change also handles Ubuntu's new APT/SSL/MySQL packages, HTTPS 
certificate bootstrap, and timezone files removed from UBI Minimal. Ubuntu 
component tags remain unchanged; UBI tags add `-ubi9`.
   
   ### Details
   
   - **Change map:** 431 build/configuration lines, 64 test lines and 84 
documentation lines. The build changes cover shared release packaging with two 
entry points, distro-specific runtime dependencies, and updated default image 
inputs across the three Ubuntu build paths. No kernel code or generated results 
change.
   - **Affected:** Runtime Docker builds for amd64 and arm64, Java 8 and 17, 
FE/BE/MS, all-in-one 4.1 and doris-compose. Doris compiler settings and release 
archive contents are unchanged.
   - **Developer and release impact:** Ubuntu remains the default. UBI uses 
`docker-build-ubi9.sh`, separate base tags and an isolated output directory. 
The retained Jammy installer supports explicit rollback inputs. Existing 
published base-7.0 tags are not repointed.
   - **License and third-party:** UBI uses its public BaseOS/AppStream 
repositories. Image digests are pinned; JDK feature/patch versions and 
Operator/Go pins are unchanged. No new application dependencies or license 
files are required.
   - **Rollback:** Revert the change or use the previous image digests. 
Explicit Jammy image overrides remain supported.
   - **Behavior change:** New Ubuntu builds use 26.04 and MySQL 8.4. UBI uses 
MySQL 8.0 and requires x86-64-v2 on amd64. Build metadata defaults move into 
distro-specific subdirectories.
   
   ### Testing
   
   - Ten offline build-script tests passed locally, including distro selection, 
output isolation, Java 8/no-AVX2 selection, pinned input forwarding and 
checksum failures.
   - Four ARM64 runtime bases (Ubuntu/UBI, Java 8/17) built and passed 
JVM/compiler, MySQL TLS-option, Operator-tool and timezone checks.
   - ARM64 FE/BE/MS images built for each distribution. Isolated Doris 4.1.5 
clusters passed insert/select, Stream Load and timezone conversion; BE/MS 
native dependencies resolved and version commands succeeded.
   - The Jammy installer and the combined additional all-in-one/compose package 
set passed local installation checks.
   
   ### Notes for Reviewers
   
   Docker Hub pulls failed with authentication and network errors. Local builds 
used cached Ubuntu 26.04 and same-version Temurin JDKs, plus unchanged Go 
1.27.4 Operator binaries through a named build context; new published 
multi-platform digests were checked through the public Registry API. Ubuntu 
package installation used a signed HTTPS mirror. Complete default-input and 
all-in-one/compose image builds, amd64 execution, full MS/FDB operation, 
Kerberos and end-to-end TLS remain unverified. These tests are manually 
invoked; no CI workflow currently runs the runtime script tests.
   
   ### Release note
   
   Runtime images default to Ubuntu 26.04 LTS. A separate UBI 9 build produces 
FE, BE and MS images with an `-ubi9` tag suffix. UBI 9 requires x86-64-v2 
hardware on amd64; validate older hosts before changing images.
   
   ### Check List (For Author)
   
   - Behavior changed: Yes (see Details)
   - Does this need documentation: No (build usage and compatibility are 
documented in docker/runtime/README.md)
   - Pre-submission status: Partially verified: default-input registry builds, 
amd64 and older hosts, full MS/FDB, Kerberos and end-to-end TLS are not 
verified.
   
   ### AI Disclosure
   
   - Tool: Codex (GPT-6)
   - Generated: Code, tests, documentation and this description.
   - Human review: not stated
   - Prompts: Research the Ubuntu LTS upgrade and an additional UBI 9 runtime 
family, then implement both on a new branch in the current checkout and 
validate locally.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to