Add Dockerfile for ubuntu2604 with Java 25 (#3033)
Adds a Ubuntu 26.04 CI image with OpenJDK 25, mirroring the existing
ubuntu2404 image: a multi-arch (amd64/arm64) `ubuntu2604` build plus an
amd64-only `ubuntu2604-kythe` variant (Kythe v0.0.75 ships only an
x86-64
tarball), wired into `build.sh` and `push.sh`.
This is the image-only step (as with ubuntu2404 #2055 / fedora45 #2983).
Pinning the published digest in `bazelci.py`'s `IMAGE_HASHES`,
registering the
`ubuntu2604` platform, and switching the Gerrit pipeline follow in a
separate
PR once the image is pushed and its digest is known
(`get_docker_image()`
requires a digest).
Notable 26.04 deltas vs 24.04:
- OpenJDK 21 → 25 (`openjdk-25-jdk-headless`, `JAVA_HOME` under
`java-25-openjdk`).
- Google Cloud CLI key step: `apt-key` (removed in APT 3.2) → `gpg
--dearmor`, over https.
Verified on a Linux/amd64 server: the base image builds, `bazel build
release`
and the Gerrit test suite run inside it, the `ubuntu2604-kythe` image
builds, and
the Kythe binaries run (`kzip` plus the dynamically-linked
`cxx_extractor` resolve
their libraries on 26.04).
Co-authored-by: Salma Samy <16399431+SalmaSamy@users.noreply.github.com>
3 files changed